Package | Description |
---|---|
io.sundr.codegen | |
io.sundr.codegen.converters | |
io.sundr.codegen.converters.parser | |
io.sundr.codegen.functions | |
io.sundr.codegen.model | |
io.sundr.codegen.utils |
Modifier and Type | Field and Description |
---|---|
static TypeRef |
Constants.BOOLEAN_REF |
static TypeRef[] |
Constants.BOXED_PRIMITIVE_TYPES |
static TypeRef |
Constants.INT_REF |
static TypeRef |
Constants.PRIMITIVE_BOOLEAN_REF |
static TypeRef[] |
Constants.PRIMITIVE_TYPES |
static TypeRef |
Constants.STRING_REF |
Modifier and Type | Method and Description |
---|---|
TypeDef |
DefinitionRepository.getDefinition(TypeRef type) |
Modifier and Type | Method and Description |
---|---|
TypeRef |
TypeRefTypeVisitor.visitArray(ArrayType t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitDeclared(DeclaredType t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitError(ErrorType t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitExecutable(ExecutableType t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitNoType(NoType t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitNull(NullType t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitPrimitive(PrimitiveType t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitTypeVariable(TypeVariable t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitUnknown(TypeMirror t,
Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitWildcard(WildcardType t,
Integer dimension) |
Modifier and Type | Method and Description |
---|---|
TypeRef |
TypeParameterToJavaType.apply(com.github.javaparser.ast.TypeParameter item) |
Modifier and Type | Field and Description |
---|---|
static Function<TypeRef,Boolean> |
Collections.IS_COLLECTION |
static Function<TypeRef,Boolean> |
Collections.IS_LIST |
static Function<TypeRef,Boolean> |
Collections.IS_MAP |
static Function<TypeRef,Boolean> |
Optionals.IS_OPTIONAL |
static Function<TypeRef,Boolean> |
Optionals.IS_OPTIONAL_DOUBLE |
static Function<TypeRef,Boolean> |
Optionals.IS_OPTIONAL_INT |
static Function<TypeRef,Boolean> |
Optionals.IS_OPTIONAL_LONG |
static Function<TypeRef,Boolean> |
Collections.IS_SET |
static Function<TypeMirror,TypeRef> |
ElementTo.MIRROR_TO_TYPEREF |
static Function<Type,TypeRef> |
ClassTo.TYPEREF |
Modifier and Type | Class and Description |
---|---|
class |
ClassRef |
class |
EditableClassRef |
class |
EditablePrimitiveRef |
class |
EditableTypeParamRef |
class |
EditableVoidRef |
class |
EditableWildcardRef |
class |
PrimitiveRef |
class |
TypeParamRef |
class |
VoidRef |
class |
WildcardRef |
Modifier and Type | Method and Description |
---|---|
TypeRef |
ClassRefFluentImpl.buildArgument(int index) |
TypeRef |
ClassRefFluent.buildArgument(int index) |
TypeRef |
WildcardRefFluentImpl.buildBound(int index) |
TypeRef |
WildcardRefFluent.buildBound(int index) |
TypeRef |
ClassRefFluentImpl.buildFirstArgument() |
TypeRef |
ClassRefFluent.buildFirstArgument() |
TypeRef |
WildcardRefFluentImpl.buildFirstBound() |
TypeRef |
WildcardRefFluent.buildFirstBound() |
TypeRef |
ClassRefFluentImpl.buildLastArgument() |
TypeRef |
ClassRefFluent.buildLastArgument() |
TypeRef |
WildcardRefFluentImpl.buildLastBound() |
TypeRef |
WildcardRefFluent.buildLastBound() |
TypeRef |
ClassRefFluentImpl.buildMatchingArgument(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
TypeRef |
ClassRefFluent.buildMatchingArgument(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
TypeRef |
WildcardRefFluentImpl.buildMatchingBound(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
TypeRef |
WildcardRefFluent.buildMatchingBound(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
TypeRef |
MethodFluentImpl.buildReturnType() |
TypeRef |
MethodFluent.buildReturnType() |
TypeRef |
PropertyFluentImpl.buildTypeRef() |
TypeRef |
PropertyFluent.buildTypeRef() |
TypeRef |
Method.getReturnType() |
TypeRef |
MethodFluentImpl.getReturnType()
Deprecated.
|
TypeRef |
MethodFluent.getReturnType()
Deprecated.
|
TypeRef |
PropertyFluentImpl.getTypeRef()
Deprecated.
|
TypeRef |
PropertyFluent.getTypeRef()
Deprecated.
|
TypeRef |
Property.getTypeRef() |
TypeRef |
WildcardRef.withDimensions(int dimensions) |
TypeRef |
VoidRef.withDimensions(int dimensions) |
abstract TypeRef |
TypeRef.withDimensions(int dimensions) |
Modifier and Type | Method and Description |
---|---|
List<TypeRef> |
ClassRefFluentImpl.buildArguments() |
List<TypeRef> |
ClassRefFluent.buildArguments() |
List<TypeRef> |
WildcardRefFluentImpl.buildBounds() |
List<TypeRef> |
WildcardRefFluent.buildBounds() |
List<TypeRef> |
ClassRefFluentImpl.getArguments()
Deprecated.
|
List<TypeRef> |
ClassRefFluent.getArguments()
Deprecated.
|
List<TypeRef> |
ClassRef.getArguments() |
List<TypeRef> |
WildcardRefFluentImpl.getBounds()
Deprecated.
|
List<TypeRef> |
WildcardRefFluent.getBounds()
Deprecated.
|
List<TypeRef> |
WildcardRef.getBounds() |
Modifier and Type | Method and Description |
---|---|
A |
ClassRefFluentImpl.addToArguments(int index,
TypeRef item) |
A |
ClassRefFluent.addToArguments(int index,
TypeRef item) |
A |
ClassRefFluentImpl.addToArguments(TypeRef... items) |
A |
ClassRefFluent.addToArguments(TypeRef... items) |
A |
WildcardRefFluentImpl.addToBounds(int index,
TypeRef item) |
A |
WildcardRefFluent.addToBounds(int index,
TypeRef item) |
A |
WildcardRefFluentImpl.addToBounds(TypeRef... items) |
A |
WildcardRefFluent.addToBounds(TypeRef... items) |
boolean |
WildcardRef.isAssignableFrom(TypeRef ref) |
boolean |
VoidRef.isAssignableFrom(TypeRef ref) |
abstract boolean |
TypeRef.isAssignableFrom(TypeRef ref) |
boolean |
TypeParamRef.isAssignableFrom(TypeRef ref) |
boolean |
PrimitiveRef.isAssignableFrom(TypeRef o) |
boolean |
ClassRef.isAssignableFrom(TypeRef other) |
A |
ClassRefFluentImpl.removeFromArguments(TypeRef... items) |
A |
ClassRefFluent.removeFromArguments(TypeRef... items) |
A |
WildcardRefFluentImpl.removeFromBounds(TypeRef... items) |
A |
WildcardRefFluent.removeFromBounds(TypeRef... items) |
A |
ClassRefFluentImpl.setToArguments(int index,
TypeRef item) |
A |
ClassRefFluent.setToArguments(int index,
TypeRef item) |
A |
WildcardRefFluentImpl.setToBounds(int index,
TypeRef item) |
A |
WildcardRefFluent.setToBounds(int index,
TypeRef item) |
ClassRef |
TypeDef.toReference(TypeRef... arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
A |
ClassRefFluentImpl.withArguments(TypeRef... arguments) |
A |
ClassRefFluent.withArguments(TypeRef... arguments) |
A |
WildcardRefFluentImpl.withBounds(TypeRef... bounds) |
A |
WildcardRefFluent.withBounds(TypeRef... bounds) |
A |
MethodFluentImpl.withReturnType(TypeRef returnType) |
A |
MethodFluent.withReturnType(TypeRef returnType) |
A |
PropertyFluentImpl.withTypeRef(TypeRef typeRef) |
A |
PropertyFluent.withTypeRef(TypeRef typeRef) |
Modifier and Type | Method and Description |
---|---|
A |
ClassRefFluentImpl.addAllToArguments(Collection<TypeRef> items) |
A |
ClassRefFluent.addAllToArguments(Collection<TypeRef> items) |
A |
WildcardRefFluentImpl.addAllToBounds(Collection<TypeRef> items) |
A |
WildcardRefFluent.addAllToBounds(Collection<TypeRef> items) |
A |
ClassRefFluentImpl.addToArguments(int index,
VisitableBuilder<? extends TypeRef,?> builder) |
A |
ClassRefFluent.addToArguments(int index,
VisitableBuilder<? extends TypeRef,?> builder) |
A |
ClassRefFluentImpl.addToArguments(VisitableBuilder<? extends TypeRef,?> builder) |
A |
ClassRefFluent.addToArguments(VisitableBuilder<? extends TypeRef,?> builder) |
A |
WildcardRefFluentImpl.addToBounds(int index,
VisitableBuilder<? extends TypeRef,?> builder) |
A |
WildcardRefFluent.addToBounds(int index,
VisitableBuilder<? extends TypeRef,?> builder) |
A |
WildcardRefFluentImpl.addToBounds(VisitableBuilder<? extends TypeRef,?> builder) |
A |
WildcardRefFluent.addToBounds(VisitableBuilder<? extends TypeRef,?> builder) |
TypeRef |
ClassRefFluentImpl.buildMatchingArgument(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
TypeRef |
ClassRefFluent.buildMatchingArgument(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
TypeRef |
WildcardRefFluentImpl.buildMatchingBound(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
TypeRef |
WildcardRefFluent.buildMatchingBound(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
Boolean |
ClassRefFluentImpl.hasMatchingArgument(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
Boolean |
ClassRefFluent.hasMatchingArgument(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
Boolean |
WildcardRefFluentImpl.hasMatchingBound(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
Boolean |
WildcardRefFluent.hasMatchingBound(Predicate<VisitableBuilder<? extends TypeRef,?>> predicate) |
A |
ClassRefFluentImpl.removeAllFromArguments(Collection<TypeRef> items) |
A |
ClassRefFluent.removeAllFromArguments(Collection<TypeRef> items) |
A |
WildcardRefFluentImpl.removeAllFromBounds(Collection<TypeRef> items) |
A |
WildcardRefFluent.removeAllFromBounds(Collection<TypeRef> items) |
A |
ClassRefFluentImpl.removeFromArguments(VisitableBuilder<? extends TypeRef,?> builder) |
A |
ClassRefFluent.removeFromArguments(VisitableBuilder<? extends TypeRef,?> builder) |
A |
WildcardRefFluentImpl.removeFromBounds(VisitableBuilder<? extends TypeRef,?> builder) |
A |
WildcardRefFluent.removeFromBounds(VisitableBuilder<? extends TypeRef,?> builder) |
ClassRef |
TypeDef.toReference(Collection<TypeRef> arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
ClassRef |
TypeDef.toReference(List<TypeRef> arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
A |
ClassRefFluentImpl.withArguments(List<TypeRef> arguments) |
A |
ClassRefFluent.withArguments(List<TypeRef> arguments) |
A |
WildcardRefFluentImpl.withBounds(List<TypeRef> bounds) |
A |
WildcardRefFluent.withBounds(List<TypeRef> bounds) |
Constructor and Description |
---|
EditableMethod(List<String> comments,
List<AnnotationRef> annotations,
List<TypeParamDef> parameters,
String name,
TypeRef returnType,
List<Property> arguments,
boolean varArgPreferred,
List<ClassRef> exceptions,
Block block,
int modifiers,
Map<AttributeKey,Object> attributes) |
EditableProperty(List<AnnotationRef> annotations,
TypeRef typeRef,
String name,
int modifiers,
Map<AttributeKey,Object> attributes) |
Method(List<String> comments,
List<AnnotationRef> annotations,
List<TypeParamDef> parameters,
String name,
TypeRef returnType,
List<Property> arguments,
boolean varArgPreferred,
List<ClassRef> exceptions,
Block block,
int modifiers,
Map<AttributeKey,Object> attributes) |
Property(List<AnnotationRef> annotations,
TypeRef typeRef,
String name,
int modifiers,
Map<AttributeKey,Object> attributes) |
TypeRefFluentImpl(TypeRef instance) |
Constructor and Description |
---|
ClassRef(TypeDef definition,
String fullyQualifiedName,
int dimensions,
List<TypeRef> arguments,
Map<AttributeKey,Object> attributes) |
EditableClassRef(TypeDef definition,
String fullyQualifiedName,
int dimensions,
List<TypeRef> arguments,
Map<AttributeKey,Object> attributes) |
EditableWildcardRef(List<TypeRef> bounds,
Map<AttributeKey,Object> attributes) |
WildcardRef(List<TypeRef> bounds,
Map<AttributeKey,Object> attributes) |
Modifier and Type | Method and Description |
---|---|
static TypeParamDef |
TypeUtils.getParameterDefinition(TypeRef typeRef,
Collection<TypeParamDef> parameters) |
static boolean |
TypeUtils.isAbstract(TypeRef typeRef)
Checks a
TypeRef is of an abstract type. |
static boolean |
TypeUtils.isArray(TypeRef type)
Checks if a
TypeRef is an array. |
static boolean |
TypeUtils.isBoolean(TypeRef type)
|
static boolean |
TypeUtils.isCollection(TypeRef type)
Checks if a
TypeRef is a Collection . |
static boolean |
TypeUtils.isConcrete(TypeRef typeRef)
Checks if
TypeRef is of an concrete |
static boolean |
TypeUtils.isInstanceOf(TypeRef type,
TypeDef targetType,
Function<TypeRef,Boolean> function)
|
static boolean |
TypeUtils.isList(TypeRef type)
|
static boolean |
TypeUtils.isMap(TypeRef type)
|
static boolean |
TypeUtils.isOptional(TypeRef type)
|
static boolean |
TypeUtils.isOptionalDouble(TypeRef type)
Checks if a
TypeRef is a OptionalDouble . |
static boolean |
TypeUtils.isOptionalInt(TypeRef type)
Checks if a
TypeRef is a OptionalInt . |
static boolean |
TypeUtils.isOptionalLong(TypeRef type)
Checks if a
TypeRef is a OptionalLong . |
static boolean |
TypeUtils.isPrimitive(TypeRef type)
Checks if a
TypeRef is a primitive type. |
static boolean |
TypeUtils.isSet(TypeRef type)
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TypeUtils.isInstanceOf(TypeRef type,
TypeDef targetType,
Function<TypeRef,Boolean> function)
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.