Interface Annotatable
- All Known Implementing Classes:
BuilderClassDef, BuilderField, BuilderMethod, ClassDefRewriter.RewrittenClassDef, ClassProto.ReparentedMethod, DexBackedClassDef, DexBackedField, DexBackedMethod, FieldRewriter.RewrittenField, ImmutableClassDef, ImmutableField, ImmutableMethod, MethodRewriter.RewrittenMethod, PoolClassDef, PoolMethod, ReflectionClassDef, ReflectionConstructor, ReflectionField, ReflectionMethod
public interface Annotatable
This class represents an object that can have Annotations applied to it
-
Method Summary
Modifier and TypeMethodDescriptionSet<? extends Annotation> Gets a set of the annotations that are applied to this object.
-
Method Details
-
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
-