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(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(Collection<? extends AnnotationDescription> annotations)
Defines type annotations to be declared by the current type.
|
TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.annotate(List<? extends 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(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(List<? extends AnnotationDescription> annotations) |
protected TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.OfParameterizedType.doAnnotate(List<? extends AnnotationDescription> annotations) |
protected TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.OfGenericArrayType.doAnnotate(List<? extends AnnotationDescription> annotations) |
protected TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.OfTypeVariable.doAnnotate(List<? extends AnnotationDescription> annotations) |
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(Class<?> rawType,
List<? extends 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(Class<?> rawType,
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(Class<?> rawType,
Type ownerType,
List<? extends Type> parameters)
Creates a parameterized type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType,
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,
Collection<? extends TypeDefinition> parameters)
Creates a parameterized type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(Class<?> type)
Creates a raw type of a type description.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(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(String symbol)
Creates a symbolic type variable of the given name.
|
Copyright © 2014–2020. All rights reserved.