Class ClassName


  • public class ClassName
    extends JavaExpression
    A ClassName represents either a class literal or the occurrence of a class as part of a static field access or static method invocation.
    • Constructor Detail

      • ClassName

        public ClassName​(javax.lang.model.type.TypeMirror type)
        Creates a new ClassName object for the given type.
        Parameters:
        type - the type for the new ClassName. If it will represent a class literal, the type is declared primitive, void, or array of one of them. If it represents part of a static field access or static method invocation, the type is declared, type variable, or array (including array of primitive).