Package-level declarations
Types
Link copied to clipboard
open class AnnotationDeclaration : TypeDeclaration<AnnotationDeclaration> , NodeWithAbstractModifier<AnnotationDeclaration> , Resolvable<ResolvedAnnotationDeclaration>
An annotation type declaration.
Link copied to clipboard
open class AnnotationMemberDeclaration : BodyDeclaration<AnnotationMemberDeclaration> , NodeWithJavadoc<AnnotationMemberDeclaration> , NodeWithSimpleName<AnnotationMemberDeclaration> , NodeWithType<AnnotationMemberDeclaration, Type> , NodeWithPublicModifier<AnnotationMemberDeclaration> , NodeWithAbstractModifier<AnnotationMemberDeclaration> , Resolvable<ResolvedAnnotationMemberDeclaration>
The "int id();" in
@interface X { int id(); }All annotations preceding the type will be set on this object, not on the type.Link copied to clipboard
Any declaration that can appear between the { and } of a class, interface, enum, or record.
Link copied to clipboard
abstract class CallableDeclaration<T : CallableDeclaration<out Any>?> : BodyDeclaration<T> , NodeWithAccessModifiers<T> , NodeWithDeclaration, NodeWithSimpleName<T> , NodeWithParameters<T> , NodeWithThrownExceptions<T> , NodeWithTypeParameters<T> , NodeWithJavadoc<T> , NodeWithAbstractModifier<T> , NodeWithStaticModifier<T> , NodeWithFinalModifier<T> , NodeWithStrictfpModifier<T> , NodeWithContracts<T>
Represents a declaration which is callable eg.
Link copied to clipboard
Link copied to clipboard
open class ClassOrInterfaceDeclaration : TypeDeclaration<ClassOrInterfaceDeclaration> , NodeWithImplements<ClassOrInterfaceDeclaration> , NodeWithExtends<ClassOrInterfaceDeclaration> , NodeWithTypeParameters<ClassOrInterfaceDeclaration> , NodeWithAbstractModifier<ClassOrInterfaceDeclaration> , NodeWithFinalModifier<ClassOrInterfaceDeclaration> , Resolvable<ResolvedReferenceTypeDeclaration>
A definition of a class or interface.
Link copied to clipboard
open class CompactConstructorDeclaration : BodyDeclaration<CompactConstructorDeclaration> , NodeWithBlockStmt<CompactConstructorDeclaration> , NodeWithAccessModifiers<CompactConstructorDeclaration> , NodeWithJavadoc<CompactConstructorDeclaration> , NodeWithSimpleName<CompactConstructorDeclaration> , NodeWithThrownExceptions<CompactConstructorDeclaration> , NodeWithTypeParameters<CompactConstructorDeclaration> , Resolvable<ResolvedConstructorDeclaration>
The record declaration's constructor
WARNING: This implementation is subject to change.Link copied to clipboard
open class ConstructorDeclaration : CallableDeclaration<ConstructorDeclaration> , NodeWithOptionalBlockStmt<ConstructorDeclaration> , NodeWithAccessModifiers<ConstructorDeclaration> , NodeWithJavadoc<ConstructorDeclaration> , NodeWithSimpleName<ConstructorDeclaration> , NodeWithParameters<ConstructorDeclaration> , NodeWithThrownExceptions<ConstructorDeclaration> , NodeWithTypeParameters<ConstructorDeclaration> , Resolvable<ResolvedConstructorDeclaration>
A constructor declaration:
class X { X() { } } where X(){} is the constructor declaration.Link copied to clipboard
open class EnumConstantDeclaration : BodyDeclaration<EnumConstantDeclaration> , NodeWithJavadoc<EnumConstantDeclaration> , NodeWithSimpleName<EnumConstantDeclaration> , NodeWithArguments<EnumConstantDeclaration> , Resolvable<ResolvedEnumConstantDeclaration>
One of the values an enum can take.
Link copied to clipboard
open class EnumDeclaration : TypeDeclaration<EnumDeclaration> , NodeWithImplements<EnumDeclaration> , Resolvable<ResolvedEnumDeclaration>
The declaration of an enum.
Link copied to clipboard
open class FieldDeclaration : BodyDeclaration<FieldDeclaration> , NodeWithJavadoc<FieldDeclaration> , NodeWithVariables<FieldDeclaration> , NodeWithAccessModifiers<FieldDeclaration> , NodeWithStaticModifier<FieldDeclaration> , NodeWithFinalModifier<FieldDeclaration> , Resolvable<ResolvedFieldDeclaration>
The declaration of a field in a class.
Link copied to clipboard
open class InitializerDeclaration : BodyDeclaration<InitializerDeclaration> , NodeWithJavadoc<InitializerDeclaration> , NodeWithBlockStmt<InitializerDeclaration>
A (possibly static) initializer body.
Link copied to clipboard
open class MethodDeclaration : CallableDeclaration<MethodDeclaration> , NodeWithType<MethodDeclaration, Type> , NodeWithOptionalBlockStmt<MethodDeclaration> , NodeWithJavadoc<MethodDeclaration> , NodeWithDeclaration, NodeWithSimpleName<MethodDeclaration> , NodeWithParameters<MethodDeclaration> , NodeWithThrownExceptions<MethodDeclaration> , NodeWithTypeParameters<MethodDeclaration> , NodeWithAccessModifiers<MethodDeclaration> , NodeWithAbstractModifier<MethodDeclaration> , NodeWithStaticModifier<MethodDeclaration> , NodeWithFinalModifier<MethodDeclaration> , NodeWithStrictfpModifier<MethodDeclaration> , Resolvable<ResolvedMethodDeclaration>
A method declaration.
Link copied to clipboard
open class Parameter : Node, NodeWithType<Parameter, Type> , NodeWithAnnotations<Parameter> , NodeWithSimpleName<Parameter> , NodeWithFinalModifier<Parameter> , Resolvable<ResolvedParameterDeclaration>
The parameters to a method or lambda.
Link copied to clipboard
open class ReceiverParameter : Node, NodeWithType<ReceiverParameter, Type> , NodeWithAnnotations<ReceiverParameter> , NodeWithName<ReceiverParameter>
The receiver parameter feature of Java.
Link copied to clipboard
open class RecordDeclaration : TypeDeclaration<RecordDeclaration> , NodeWithParameters<RecordDeclaration> , NodeWithImplements<RecordDeclaration> , NodeWithTypeParameters<RecordDeclaration> , NodeWithFinalModifier<RecordDeclaration> , Resolvable<ResolvedReferenceTypeDeclaration>
The record declaration
WARNING: This implementation is subject to change.Link copied to clipboard
abstract class TypeDeclaration<T : TypeDeclaration<out Any>?> : BodyDeclaration<T> , NodeWithSimpleName<T> , NodeWithJavadoc<T> , NodeWithMembers<T> , NodeWithAccessModifiers<T> , NodeWithStaticModifier<T> , NodeWithStrictfpModifier<T>
A base class for all types of type declarations.
Link copied to clipboard
open class VariableDeclarator : Node, NodeWithType<VariableDeclarator, Type> , NodeWithSimpleName<VariableDeclarator> , Resolvable<ResolvedValueDeclaration>
The declaration of a variable.