| Package | Description |
|---|---|
| proguard.classfile.attribute.annotation |
This package contains classes to represent the annotation attributes inside
class files.
|
| proguard.classfile.attribute.annotation.visitor |
This package contains visitors for annotation attributes and their components.
|
| proguard.classfile.editor |
This package contains visitors to edit byte code.
|
| proguard.classfile.io |
This package contains classes for reading and writing class files.
|
| proguard.classfile.util |
This package contains utility classes for processing class files.
|
| proguard.classfile.visitor |
This package contains interfaces and classes for processing class files from
the
package using
the visitor pattern. |
| proguard.optimize.peephole |
This package contains visitors that perform various peephole optimizations.
|
| proguard.shrink |
This package contains classes to perform shrinking of class files.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TypeAnnotation
Representation of a type annotation.
|
| Modifier and Type | Field and Description |
|---|---|
Annotation[] |
AnnotationsAttribute.annotations |
Annotation |
AnnotationElementValue.annotationValue |
Annotation[][] |
ParameterAnnotationsAttribute.parameterAnnotations |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
void |
ClassElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
void |
EnumConstantElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
void |
ConstantElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
abstract void |
ElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Accepts the given visitor.
|
void |
ArrayElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
void |
ArrayElementValue.elementValuesAccept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Applies the given visitor to all nested element values.
|
| Constructor and Description |
|---|
AnnotationElementValue(int u2elementNameIndex,
Annotation annotationValue)
Creates an initialized AnnotationElementValue.
|
AnnotationsAttribute(int u2attributeNameIndex,
int u2annotationsCount,
Annotation[] annotations)
Creates an initialized AnnotationsAttribute.
|
ParameterAnnotationsAttribute(int u2attributeNameIndex,
int u1parametersCount,
int[] u2parameterAnnotationsCount,
Annotation[][] parameterAnnotations)
Creates an initialized ParameterAnnotationsAttribute.
|
RuntimeInvisibleAnnotationsAttribute(int u2attributeNameIndex,
int u2annotationsCount,
Annotation[] annotations)
Creates an initialized RuntimeInvisibleAnnotationsAttribute.
|
RuntimeInvisibleParameterAnnotationsAttribute(int u2attributeNameIndex,
int u1parametersCount,
int[] u2parameterAnnotationsCount,
Annotation[][] parameterAnnotations)
Creates an initialized RuntimeInvisibleParameterAnnotationsAttribute.
|
RuntimeVisibleAnnotationsAttribute(int u2attributeNameIndex,
int u2annotationsCount,
Annotation[] annotations)
Creates an initialized RuntimeVisibleAnnotationsAttribute.
|
RuntimeVisibleParameterAnnotationsAttribute(int u2attributeNameIndex,
int u1parametersCount,
int[] u2parameterAnnotationsCount,
Annotation[][] parameterAnnotations)
Creates an initialized RuntimeVisibleParameterAnnotationsAttribute.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AllElementValueVisitor.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
AnnotationVisitor.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
AnnotatedClassVisitor.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
AnnotationTypeFilter.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
AllElementValueVisitor.visitAnnotation(Clazz clazz,
Field field,
Annotation annotation) |
void |
AnnotationVisitor.visitAnnotation(Clazz clazz,
Field field,
Annotation annotation) |
void |
AnnotationTypeFilter.visitAnnotation(Clazz clazz,
Field field,
Annotation annotation) |
void |
AnnotationToMemberVisitor.visitAnnotation(Clazz clazz,
Member member,
Annotation annotation) |
void |
AllElementValueVisitor.visitAnnotation(Clazz clazz,
Method method,
Annotation annotation) |
void |
AnnotationVisitor.visitAnnotation(Clazz clazz,
Method method,
Annotation annotation) |
void |
AnnotationTypeFilter.visitAnnotation(Clazz clazz,
Method method,
Annotation annotation) |
void |
AllElementValueVisitor.visitAnnotation(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
Annotation annotation) |
void |
AnnotationVisitor.visitAnnotation(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
Annotation annotation) |
void |
AnnotationTypeFilter.visitAnnotation(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
Annotation annotation) |
void |
AllElementValueVisitor.visitAnnotation(Clazz clazz,
Method method,
int parameterIndex,
Annotation annotation) |
void |
AnnotationVisitor.visitAnnotation(Clazz clazz,
Method method,
int parameterIndex,
Annotation annotation) |
void |
AnnotationTypeFilter.visitAnnotation(Clazz clazz,
Method method,
int parameterIndex,
Annotation annotation) |
void |
AllElementValueVisitor.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ElementValueVisitor.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
AllElementValueVisitor.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ElementValueVisitor.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
AllElementValueVisitor.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ElementValueVisitor.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
AllElementValueVisitor.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
ElementValueVisitor.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
AllElementValueVisitor.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
ElementValueVisitor.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationsAttributeEditor.addAnnotation(Annotation annotation)
Adds a given annotation to the annotations attribute.
|
void |
ParameterAnnotationsAttributeEditor.addAnnotation(int parameterIndex,
Annotation annotation)
Adds a given annotation to the annotations attribute.
|
void |
ConstantPoolShrinker.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
ClassReferenceFixer.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
Utf8Shrinker.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
ConstantPoolRemapper.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
AnnotationAdder.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
MemberReferenceFixer.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
AnnotationAdder.visitAnnotation(Clazz clazz,
Method method,
int parameterIndex,
Annotation annotation) |
void |
ConstantPoolShrinker.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ClassReferenceFixer.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
Utf8Shrinker.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ConstantPoolRemapper.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ElementValueAdder.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
MemberReferenceFixer.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ConstantPoolShrinker.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ClassReferenceFixer.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
Utf8Shrinker.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ConstantPoolRemapper.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ElementValueAdder.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
MemberReferenceFixer.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ConstantPoolShrinker.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ClassReferenceFixer.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
Utf8Shrinker.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ConstantPoolRemapper.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ElementValueAdder.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
MemberReferenceFixer.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ConstantPoolShrinker.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
ClassReferenceFixer.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
Utf8Shrinker.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
ConstantPoolRemapper.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
ElementValueAdder.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
MemberReferenceFixer.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
ConstantPoolShrinker.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
ClassReferenceFixer.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
Utf8Shrinker.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
ConstantPoolRemapper.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
ElementValueAdder.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
MemberReferenceFixer.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
| Constructor and Description |
|---|
ElementValueAdder(ProgramClass targetClass,
Annotation targetAnnotation,
boolean replaceElementValues)
Creates a new ElementValueAdder that will copy element values into the
given target annotation.
|
ElementValuesEditor(ProgramClass targetClass,
Annotation targetAnnotation,
boolean replaceElementValues)
Creates a new ElementValuesEditor that will edit element values in the
given target annotation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProgramClassReader.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
ProgramClassReader.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ProgramClassReader.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ProgramClassReader.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ProgramClassReader.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
ProgramClassReader.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassReferenceInitializer.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
SimplifiedVisitor.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
SimplifiedVisitor.visitAnnotation(Clazz clazz,
Field field,
Annotation annotation) |
void |
SimplifiedVisitor.visitAnnotation(Clazz clazz,
Member member,
Annotation annotation)
Visits the given Annotation of any type of class member.
|
void |
SimplifiedVisitor.visitAnnotation(Clazz clazz,
Method method,
Annotation annotation) |
void |
SimplifiedVisitor.visitAnnotation(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
Annotation annotation) |
void |
SimplifiedVisitor.visitAnnotation(Clazz clazz,
Method method,
int parameterIndex,
Annotation annotation) |
void |
ClassReferenceInitializer.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
SimplifiedVisitor.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
SimplifiedVisitor.visitAnyElementValue(Clazz clazz,
Annotation annotation,
ElementValue elementValue)
Visits any type of ElementValue.
|
void |
EnumFieldReferenceInitializer.visitAnyElementValue(Clazz clazz,
Annotation annotation,
ElementValue elementValue) |
void |
ClassReferenceInitializer.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
SimplifiedVisitor.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ClassReferenceInitializer.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
SimplifiedVisitor.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ClassReferenceInitializer.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
SimplifiedVisitor.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
ClassReferenceInitializer.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
SimplifiedVisitor.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
EnumFieldReferenceInitializer.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReferencedClassVisitor.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
ClassPrinter.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
ClassCleaner.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
ReferencedClassVisitor.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ClassPrinter.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ClassCleaner.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ReferencedClassVisitor.visitAnyElementValue(Clazz clazz,
Annotation annotation,
ElementValue elementValue) |
void |
ClassCleaner.visitAnyElementValue(Clazz clazz,
Annotation annotation,
ElementValue elementValue) |
void |
ReferencedMemberVisitor.visitAnyElementValue(Clazz clazz,
Annotation annotation,
ElementValue elementValue) |
void |
ReferencedClassVisitor.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ClassPrinter.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ClassCleaner.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
ReferencedClassVisitor.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ClassPrinter.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
ClassPrinter.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
ReferencedClassVisitor.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
void |
ClassPrinter.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
TargetClassChanger.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
TargetClassChanger.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
TargetClassChanger.visitAnyElementValue(Clazz clazz,
Annotation annotation,
ElementValue elementValue) |
void |
TargetClassChanger.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
TargetClassChanger.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
TargetClassChanger.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
TargetClassChanger.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassShrinker.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
AnnotationUsageMarker.visitAnnotation(Clazz clazz,
Annotation annotation) |
void |
ClassShrinker.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
AnnotationUsageMarker.visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue) |
void |
ClassShrinker.visitAnyElementValue(Clazz clazz,
Annotation annotation,
ElementValue elementValue) |
void |
ClassShrinker.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
AnnotationUsageMarker.visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue) |
void |
AnnotationUsageMarker.visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue) |
void |
AnnotationUsageMarker.visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue) |
void |
AnnotationUsageMarker.visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue) |
Copyright © 2015. All Rights Reserved.