public static enum AndroidDescriptor.Trivial extends Enum<AndroidDescriptor.Trivial> implements AndroidDescriptor
AndroidDescriptor that returns a fixed value.AndroidDescriptor.Trivial, AndroidDescriptor.TypeScope| Enum Constant and Description | 
|---|
| EXTERNALA descriptor that marks all types as  AndroidDescriptor.TypeScope.EXTERNAL. | 
| LOCALA descriptor that marks all types as  AndroidDescriptor.TypeScope.LOCAL. | 
| Modifier and Type | Method and Description | 
|---|---|
| AndroidDescriptor.TypeScope | getTypeScope(TypeDescription typeDescription)Provides the scope of the passed  TypeDescriptioninstance. | 
| static AndroidDescriptor.Trivial | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AndroidDescriptor.Trivial[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AndroidDescriptor.Trivial LOCAL
AndroidDescriptor.TypeScope.LOCAL.public static final AndroidDescriptor.Trivial EXTERNAL
AndroidDescriptor.TypeScope.EXTERNAL.public static AndroidDescriptor.Trivial[] values()
for (AndroidDescriptor.Trivial c : AndroidDescriptor.Trivial.values()) System.out.println(c);
public static AndroidDescriptor.Trivial valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic AndroidDescriptor.TypeScope getTypeScope(TypeDescription typeDescription)
TypeDescription instance.getTypeScope in interface AndroidDescriptortypeDescription - The type to get the scope for.AndroidDescriptor.TypeScope describing the type's origin.Copyright © 2014–2023. All rights reserved.