Package | Description |
---|---|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
TypeDescription.Generic.Builder.OfGenericArrayType
A generic type builder building a generic array type.
|
protected static class |
TypeDescription.Generic.Builder.OfNonGenericType
A generic type builder for building a non-generic type.
|
protected static class |
TypeDescription.Generic.Builder.OfParameterizedType
A generic type builder for building a parameterized type.
|
protected static class |
TypeDescription.Generic.Builder.OfTypeVariable
A generic type builder building a symbolic type variable.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.annotate(java.lang.annotation.Annotation... annotation)
Defines type annotations to be declared by the current type.
|
TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.annotate(AnnotationDescription... annotation)
Defines type annotations to be declared by the current type.
|
TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.annotate(java.util.Collection<? extends AnnotationDescription> annotations)
Defines type annotations to be declared by the current type.
|
TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.annotate(java.util.List<? extends java.lang.annotation.Annotation> annotations)
Defines type annotations to be declared by the current type.
|
TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.asArray()
Represents the built type into an array.
|
TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.asArray(int arity)
Represents the built type into an array.
|
protected abstract TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.doAnnotate(java.util.List<? extends AnnotationDescription> annotations)
Creates a new builder for the current type and the applied type annotations.
|
protected TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.OfNonGenericType.doAnnotate(java.util.List<? extends AnnotationDescription> annotations) |
protected TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.OfParameterizedType.doAnnotate(java.util.List<? extends AnnotationDescription> annotations) |
protected TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.OfGenericArrayType.doAnnotate(java.util.List<? extends AnnotationDescription> annotations) |
protected TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.OfTypeVariable.doAnnotate(java.util.List<? extends AnnotationDescription> annotations) |
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(java.lang.Class<?> rawType,
java.util.List<? extends java.lang.reflect.Type> parameters)
Creates a parameterized type without an owner type or with a non-generic owner type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(java.lang.Class<?> rawType,
java.lang.reflect.Type... parameter)
Creates a parameterized type without an owner type or with a non-generic owner type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(java.lang.Class<?> rawType,
java.lang.reflect.Type ownerType,
java.util.List<? extends java.lang.reflect.Type> parameters)
Creates a parameterized type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType,
java.util.Collection<? extends TypeDefinition> parameters)
Creates a parameterized type without an owner type or with a non-generic owner type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType,
TypeDefinition... parameter)
Creates a parameterized type without an owner type or with a non-generic owner type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
java.util.Collection<? extends TypeDefinition> parameters)
Creates a parameterized type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(java.lang.Class<?> type)
Creates a raw type of a type description.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(java.lang.Class<?> type,
TypeDescription.Generic ownerType)
Creates a raw type of a type description where the supplied owner type is used as .
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(TypeDescription type)
Creates a raw type of a type description.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(TypeDescription type,
TypeDescription.Generic ownerType)
Creates a raw type of a type description.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.typeVariable(java.lang.String symbol)
Creates a symbolic type variable of the given name.
|