Class Type.SimpleType

java.lang.Object
org.openjdk.asmtools.jdis.notations.Type
org.openjdk.asmtools.jdis.notations.Type.SimpleType
Enclosing class:
Type

public static class Type.SimpleType extends Type
Represents a type signature with a simple name. The name may be that of a primitive type, such "int, float, etc or that of a type argument, such as T, K, V, etc.

See: JVMS 4.3.2 BaseType: B, C, D, F, I, J, S, Z; VoidDescriptor: V; JVMS 4.3.4 TypeVariableSignature: T Identifier ;

  • Field Details

    • primitiveTypes

      private static final Set<String> primitiveTypes
    • name

      public final String name
  • Constructor Details

    • SimpleType

      public SimpleType(String name)
  • Method Details

    • accept

      public <R,D> R accept(Type.Visitor<R,D> visitor, D data)
      Specified by:
      accept in class Type
    • isPrimitiveType

      public boolean isPrimitiveType()
    • toString

      public String toString()
      Overrides:
      toString in class Object