Top Description Inners Methods
org.easymock.bytebuddy.build

public Interface AndroidDescriptor

Known Direct Implementers
org.easymock.bytebuddy.build.AndroidDescriptor.Trivial
Imports
org.easymock.bytebuddy.description.type.TypeDescription

Provides Android context information to Plugin instances that include it as their constructor parameter.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
AndroidDescriptor.Trivial

A trivial implementation of an AndroidDescriptor that returns a fixed value.

public static enum
AndroidDescriptor.TypeScope

Describes the origin of a type within an Android project.

Method Summary

Modifier and TypeMethod and Description
public AndroidDescriptor.TypeScope

Returns:

a TypeScope describing the type's origin.
getTypeScope
(TypeDescription
The type to get the scope for.
typeDescription
)

Provides the scope of the passed TypeDescription instance.

Method Detail

getTypeScopeback to summary
public AndroidDescriptor.TypeScope getTypeScope(TypeDescription typeDescription)

Provides the scope of the passed TypeDescription instance.

Parameters
typeDescription:TypeDescription

The type to get the scope for.

Returns:AndroidDescriptor.TypeScope

a TypeScope describing the type's origin.

org.easymock.bytebuddy.build back to summary

public final Enum AndroidDescriptor.Trivial

extends Enum<AndroidDescriptor.Trivial>
implements AndroidDescriptor
Class Inheritance
All Implemented Interfaces
org.easymock.bytebuddy.build.AndroidDescriptor

A trivial implementation of an AndroidDescriptor that returns a fixed value.

Field Summary

Modifier and TypeField and Description
public static final AndroidDescriptor.Trivial
EXTERNAL

A descriptor that marks all types as TypeScope#EXTERNAL.

public static final AndroidDescriptor.Trivial
LOCAL

A descriptor that marks all types as TypeScope#LOCAL.

private final AndroidDescriptor.TypeScope
typeScope

The type scope to return.

Constructor Summary

AccessConstructor and Description
private
Trivial(AndroidDescriptor.TypeScope
The type scope to return.
typeScope
)

Creates a new trivial android descriptor.

Method Summary

Modifier and TypeMethod and Description
public AndroidDescriptor.TypeScope
getTypeScope(TypeDescription
The type to get the scope for.
typeDescription
)

Implements org.easymock.bytebuddy.build.AndroidDescriptor.getTypeScope.

Provides the scope of the passed TypeDescription instance.
public static AndroidDescriptor.Trivial
public static AndroidDescriptor.Trivial[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EXTERNALback to summary
public static final AndroidDescriptor.Trivial EXTERNAL

A descriptor that marks all types as TypeScope#EXTERNAL.

LOCALback to summary
public static final AndroidDescriptor.Trivial LOCAL

A descriptor that marks all types as TypeScope#LOCAL.

typeScopeback to summary
private final AndroidDescriptor.TypeScope typeScope

The type scope to return.

Constructor Detail

Trivialback to summary
private Trivial(AndroidDescriptor.TypeScope typeScope)

Creates a new trivial android descriptor.

Parameters
typeScope:AndroidDescriptor.TypeScope

The type scope to return.

Method Detail

getTypeScopeback to summary
public AndroidDescriptor.TypeScope getTypeScope(TypeDescription typeDescription)

Implements org.easymock.bytebuddy.build.AndroidDescriptor.getTypeScope.

Doc from org.easymock.bytebuddy.build.AndroidDescriptor.getTypeScope.

Provides the scope of the passed TypeDescription instance.

Parameters
typeDescription:TypeDescription

The type to get the scope for.

Returns:AndroidDescriptor.TypeScope

a TypeScope describing the type's origin.

valueOfback to summary
public static AndroidDescriptor.Trivial valueOf(String name)
valuesback to summary
public static AndroidDescriptor.Trivial[] values()
org.easymock.bytebuddy.build back to summary

public final Enum AndroidDescriptor.TypeScope

extends Enum<AndroidDescriptor.TypeScope>
Class Inheritance

Describes the origin of a type within an Android project.

Field Summary

Modifier and TypeField and Description
public static final AndroidDescriptor.TypeScope
EXTERNAL

Denotes a type that comes from a dependency of the local project.

public static final AndroidDescriptor.TypeScope
LOCAL

Denotes a type that comes from the local project.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AndroidDescriptor.TypeScope
public static AndroidDescriptor.TypeScope[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EXTERNALback to summary
public static final AndroidDescriptor.TypeScope EXTERNAL

Denotes a type that comes from a dependency of the local project.

LOCALback to summary
public static final AndroidDescriptor.TypeScope LOCAL

Denotes a type that comes from the local project.

Constructor Detail

TypeScopeback to summary
private TypeScope()

Method Detail

valueOfback to summary
public static AndroidDescriptor.TypeScope valueOf(String name)
valuesback to summary
public static AndroidDescriptor.TypeScope[] values()