mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 04:17:36 +02:00
Implemented annotation encoded values
git-svn-id: https://smali.googlecode.com/svn/trunk@165 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
@ -56,4 +56,12 @@ public class AnnotationElement extends CompositeField<AnnotationElement>
|
||||
public int compareTo(AnnotationElement annotationElement) {
|
||||
return elementName.compareTo(annotationElement.elementName);
|
||||
}
|
||||
|
||||
public StringIdItem getName() {
|
||||
return elementName.getReference();
|
||||
}
|
||||
|
||||
public EncodedValue getEncodedValue() {
|
||||
return encodedValue;
|
||||
}
|
||||
}
|
||||
|
@ -80,4 +80,12 @@ public class AnnotationEncodedValueSubField extends CompositeField<AnnotationEnc
|
||||
public ValueType getValueType() {
|
||||
return ValueType.VALUE_ANNOTATION;
|
||||
}
|
||||
|
||||
public TypeIdItem getAnnotationType() {
|
||||
return annotationType.getReference();
|
||||
}
|
||||
|
||||
public List<AnnotationElement> getAnnotationElements() {
|
||||
return (List<AnnotationElement>)annotationElementList.clone();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user