Package net.bytebuddy.build
Interface AndroidDescriptor
-
- All Known Implementing Classes:
AndroidDescriptor.Trivial
public interface AndroidDescriptor
Provides Android context information toPlugin
instances that include it as their constructor parameter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AndroidDescriptor.Trivial
A trivial implementation of anAndroidDescriptor
that returns a fixed value.static class
AndroidDescriptor.TypeScope
Describes the origin of a type within an Android project.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AndroidDescriptor.TypeScope
getTypeScope(TypeDescription typeDescription)
Provides the scope of the passedTypeDescription
instance.
-
-
-
Method Detail
-
getTypeScope
AndroidDescriptor.TypeScope getTypeScope(TypeDescription typeDescription)
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.
-
-