Package net.bytebuddy.build
Interface AndroidDescriptor
- All Known Implementing Classes:
AndroidDescriptor.Trivial
public interface AndroidDescriptor
Provides Android context information to
Plugin
instances that include it as
their constructor parameter.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
A trivial implementation of anAndroidDescriptor
that returns a fixed value.static enum
Describes the origin of a type within an Android project. -
Method Summary
Modifier and TypeMethodDescriptiongetTypeScope
(TypeDescription typeDescription) Provides the scope of the passedTypeDescription
instance.
-
Method Details
-
getTypeScope
Provides the scope of the passedTypeDescription
instance.- Parameters:
typeDescription
- The type to get the scope for.- Returns:
- a
AndroidDescriptor.TypeScope
describing the type's origin.
-