Package org.jf.dexlib2.iface
Interface Annotatable
-
- All Known Implementing Classes:
BuilderClassDef,BuilderField,BuilderMethod,ClassDefRewriter.RewrittenClassDef,DexBackedClassDef,DexBackedField,DexBackedMethod,FieldRewriter.RewrittenField,ImmutableClassDef,ImmutableField,ImmutableMethod,MethodRewriter.RewrittenMethod,ReflectionClassDef,ReflectionConstructor,ReflectionField,ReflectionMethod
public interface AnnotatableThis class represents an object that can have Annotations applied to it
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<? extends Annotation>getAnnotations()Gets a set of the annotations that are applied to this object.
-
-
-
Method Detail
-
getAnnotations
@Nonnull java.util.Set<? extends Annotation> getAnnotations()
Gets a set of the annotations that are applied to this object. The annotations in the returned set are guaranteed to have unique types.- Returns:
- A set of the annotations that are applied to this object
-
-