Constructors

Link copied to clipboard
constructor(wrappedNode: EnumDeclaration, typeSolver: TypeSolver)

Types

Link copied to clipboard
Needed by ContextHelper An implicitly declared method public static E valueOf(String name), which returns the enum constant of E with the specified name.
Link copied to clipboard
Needed by ContextHelper An implicitly declared method public static E[] values(), which returns an array containing the enum constants of E, in the same order as they appear in the body of the declaration of E.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val JAVA_LANG_RECORD: String = "java.lang.Record"
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getClassName(): String
Link copied to clipboard
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hasAnnotation(qualifiedName: String): Boolean
Link copied to clipboard
open fun hasDirectlyAnnotation(canonicalName: String): Boolean
Link copied to clipboard
open fun hasEnumConstant(name: String): Boolean
Link copied to clipboard
open fun hasField(name: String): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasInternalType(name: String): Boolean
Link copied to clipboard
open fun hasName(): Boolean
Link copied to clipboard
open fun hasVisibleField(name: String): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isAnnotation(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isClass(): Boolean
Link copied to clipboard
open fun isEnum(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isField(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isGeneric(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isInterface(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isMethod(): Boolean
Link copied to clipboard
open fun isParameter(): Boolean
Link copied to clipboard
open fun isRecord(): Boolean
Link copied to clipboard
open fun isRecordType(clazz: Class<out Any>): Boolean
With the introduction of records in Java 14 (Preview), the Class.isRecord method was added to check whether a class is a record or not (similar to isEnum etc.).
Link copied to clipboard
Link copied to clipboard
open fun isType(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isVariable(): Boolean
Link copied to clipboard
open fun solveMethod(name: String, argumentsTypes: List<ResolvedType>, staticOnly: Boolean, invocationContext: ResolvedReferenceTypeDeclaration): SymbolReference<ResolvedMethodDeclaration>
Link copied to clipboard
open fun solveMethodAsUsage(name: String, argumentTypes: List<ResolvedType>, invokationContext: Context, typeParameters: List<ResolvedType>, callContext: ResolvedReferenceTypeDeclaration): Optional<MethodUsage>
Link copied to clipboard
Link copied to clipboard
This method is deprecated because it receives the TypesSolver as a parameter.
Link copied to clipboard
open fun <N : Node?> toAst(clazz: Class<N>): Optional<N>
open fun toAst(): Optional<Node>
Link copied to clipboard
open fun toString(): String