Java Code Examples for proguard.classfile.Clazz#equals()
The following examples show how to use
proguard.classfile.Clazz#equals() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AnnotatedClassVisitor.java From java-n-IDE-for-Android with Apache License 2.0 | 5 votes |
public void visitAnnotation(Clazz clazz, Annotation annotation) { if (!clazz.equals(lastVisitedClass)) { clazz.accept(classVisitor); lastVisitedClass = clazz; } }
Example 2
Source File: NonPrivateMemberMarker.java From java-n-IDE-for-Android with Apache License 2.0 | 5 votes |
public void visitAnyRefConstant(Clazz clazz, RefConstant refConstant) { Clazz referencedClass = refConstant.referencedClass; // Is it referring to a class member in another class? // The class member might be in another class, or // it may be referenced through another class. if (referencedClass != null && !referencedClass.equals(clazz) || !refConstant.getClassName(clazz).equals(clazz.getName())) { // The referenced class member can never be made private. refConstant.referencedMemberAccept(this); } }
Example 3
Source File: AnnotatedClassVisitor.java From proguard with GNU General Public License v2.0 | 5 votes |
public void visitAnnotation(Clazz clazz, Annotation annotation) { if (!clazz.equals(lastVisitedClass)) { clazz.accept(classVisitor); lastVisitedClass = clazz; } }
Example 4
Source File: AnnotatedClassVisitor.java From bazel with Apache License 2.0 | 5 votes |
public void visitAnnotation(Clazz clazz, Annotation annotation) { if (!clazz.equals(lastVisitedClass)) { clazz.accept(classVisitor); lastVisitedClass = clazz; } }
Example 5
Source File: ShortestUsageMark.java From java-n-IDE-for-Android with Apache License 2.0 | 4 votes |
/** * Returns whether this is mark is caused by the given class. */ public boolean isCausedBy(Clazz clazz) { return clazz.equals(this.clazz); }
Example 6
Source File: SuperInvocationMarker.java From java-n-IDE-for-Android with Apache License 2.0 | 4 votes |
public void visitAnyMethodrefConstant(Clazz clazz, RefConstant refConstant) { invokesSuperMethods = !clazz.equals(refConstant.referencedClass) && !refConstant.getName(clazz).equals(ClassConstants.INTERNAL_METHOD_NAME_INIT); }