Class InstrumentedType.Default

    • Field Detail

      • KEYWORDS

        private static final java.util.Set<java.lang.String> KEYWORDS
        A set containing all keywords of the Java programming language.
      • name

        private final java.lang.String name
        The binary name of the instrumented type.
      • modifiers

        private final int modifiers
        The modifiers of the instrumented type.
      • typeVariables

        private final java.util.List<? extends TypeVariableToken> typeVariables
        The instrumented type's type variables in their tokenized form.
      • interfaceTypes

        private final java.util.List<? extends TypeDescription.Generic> interfaceTypes
        A list of interfaces of the instrumented type.
      • fieldTokens

        private final java.util.List<? extends FieldDescription.Token> fieldTokens
        A list of field tokens describing the fields of the instrumented type.
      • methodTokens

        private final java.util.List<? extends MethodDescription.Token> methodTokens
        A list of method tokens describing the methods of the instrumented type.
      • recordComponentTokens

        private final java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens
        A list of record component tokens describing the record components of the instrumented type.
      • annotationDescriptions

        private final java.util.List<? extends AnnotationDescription> annotationDescriptions
        A list of annotations of the annotated type.
      • typeInitializer

        private final TypeInitializer typeInitializer
        The type initializer of the instrumented type.
      • loadedTypeInitializer

        private final LoadedTypeInitializer loadedTypeInitializer
        The loaded type initializer of the instrumented type.
      • declaringType

        private final TypeDescription declaringType
        The declaring type of the instrumented type or null if no such type exists.
      • enclosingType

        private final TypeDescription enclosingType
        The enclosing type of the instrumented type or null if no such type exists.
      • declaredTypes

        private final java.util.List<? extends TypeDescription> declaredTypes
        A list of types that are declared by this type.
      • permittedSubclasses

        private final java.util.List<? extends TypeDescription> permittedSubclasses
        A list of permitted subclasses.
      • anonymousClass

        private final boolean anonymousClass
        true if this type is a anonymous class.
      • localClass

        private final boolean localClass
        true if this type is a local class.
      • record

        private final boolean record
        true if this class is a record class.
      • nestHost

        private final TypeDescription nestHost
        The nest host of this instrumented type or a description of TargetType if this type is its own nest host.
      • nestMembers

        private final java.util.List<? extends TypeDescription> nestMembers
        A list of all members of this types nest group excluding this type.
    • Constructor Detail

      • Default

        protected Default​(java.lang.String name,
                          int modifiers,
                          TypeDescription.Generic superClass,
                          java.util.List<? extends TypeVariableToken> typeVariables,
                          java.util.List<? extends TypeDescription.Generic> interfaceTypes,
                          java.util.List<? extends FieldDescription.Token> fieldTokens,
                          java.util.List<? extends MethodDescription.Token> methodTokens,
                          java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens,
                          java.util.List<? extends AnnotationDescription> annotationDescriptions,
                          TypeInitializer typeInitializer,
                          LoadedTypeInitializer loadedTypeInitializer,
                          TypeDescription declaringType,
                          MethodDescription.InDefinedShape enclosingMethod,
                          TypeDescription enclosingType,
                          java.util.List<? extends TypeDescription> declaredTypes,
                          java.util.List<? extends TypeDescription> permittedSubclasses,
                          boolean anonymousClass,
                          boolean localClass,
                          boolean record,
                          TypeDescription nestHost,
                          java.util.List<? extends TypeDescription> nestMembers)
        Creates a new instrumented type.
        Parameters:
        name - The binary name of the instrumented type.
        modifiers - The modifiers of the instrumented type.
        typeVariables - The instrumented type's type variables in their tokenized form.
        superClass - The generic super type of the instrumented type.
        interfaceTypes - A list of interfaces of the instrumented type.
        fieldTokens - A list of field tokens describing the fields of the instrumented type.
        methodTokens - A list of method tokens describing the methods of the instrumented type.
        recordComponentTokens - A list of record component tokens describing the record components of the instrumented type.
        annotationDescriptions - A list of annotations of the annotated type.
        typeInitializer - The type initializer of the instrumented type.
        loadedTypeInitializer - The loaded type initializer of the instrumented type.
        declaringType - The declaring type of the instrumented type or null if no such type exists.
        enclosingMethod - The enclosing method of the instrumented type or null if no such type exists.
        enclosingType - The enclosing type of the instrumented type or null if no such type exists.
        declaredTypes - A list of types that are declared by this type.
        permittedSubclasses - A list of permitted subclasses.
        anonymousClass - true if this type is a anonymous class.
        localClass - true if this type is a local class.
        record - true if this type is a record class.
        nestHost - The nest host of this instrumented type or a description of TargetType if this type is its own nest host.
        nestMembers - A list of all members of this types nest group excluding this type.