Java Code Examples for proguard.classfile.visitor.ClassVisitor#visitProgramClass()
The following examples show how to use
proguard.classfile.visitor.ClassVisitor#visitProgramClass() .
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: SimpleEnumFilter.java From proguard with GNU General Public License v2.0 | 5 votes |
@Override public void visitProgramClass(ProgramClass programClass) { // Is the class marked as a simple enum? ClassVisitor classVisitor = SimpleEnumMarker.isSimpleEnum(programClass) ? simpleEnumClassVisitor : otherClassVisitor; if (classVisitor != null) { classVisitor.visitProgramClass(programClass); } }
Example 2
Source File: RetargetedClassFilter.java From proguard with GNU General Public License v2.0 | 5 votes |
@Override public void visitProgramClass(ProgramClass programClass) { // Is the class marked to be retargeted? ClassVisitor classVisitor = ClassMerger.getTargetClass(programClass) != null ? retargetedClassVisitor : otherClassVisitor; if (classVisitor != null) { classVisitor.visitProgramClass(programClass); } }
Example 3
Source File: SimpleEnumFilter.java From proguard with GNU General Public License v2.0 | 5 votes |
public void visitProgramClass(ProgramClass programClass) { // Is the class marked as a simple enum? ClassVisitor classVisitor = SimpleEnumMarker.isSimpleEnum(programClass) ? simpleEnumClassVisitor : otherClassVisitor; if (classVisitor != null) { classVisitor.visitProgramClass(programClass); } }
Example 4
Source File: RetargetedClassFilter.java From proguard with GNU General Public License v2.0 | 5 votes |
public void visitProgramClass(ProgramClass programClass) { // Is the class marked to be retargeted? ClassVisitor classVisitor = ClassMerger.getTargetClass(programClass) != null ? retargetedClassVisitor : otherClassVisitor; if (classVisitor != null) { classVisitor.visitProgramClass(programClass); } }
Example 5
Source File: SimpleEnumFilter.java From bazel with Apache License 2.0 | 5 votes |
public void visitProgramClass(ProgramClass programClass) { // Is the class marked as a simple enum? ClassVisitor classVisitor = SimpleEnumMarker.isSimpleEnum(programClass) ? simpleEnumClassVisitor : otherClassVisitor; if (classVisitor != null) { classVisitor.visitProgramClass(programClass); } }
Example 6
Source File: RetargetedClassFilter.java From bazel with Apache License 2.0 | 5 votes |
public void visitProgramClass(ProgramClass programClass) { // Is the class marked to be retargeted? ClassVisitor classVisitor = ClassMerger.getTargetClass(programClass) != null ? retargetedClassVisitor : otherClassVisitor; if (classVisitor != null) { classVisitor.visitProgramClass(programClass); } }
Example 7
Source File: ProgramClass.java From java-n-IDE-for-Android with Apache License 2.0 | 4 votes |
public void accept(ClassVisitor classVisitor) { classVisitor.visitProgramClass(this); }