Class TypeElement

  • All Implemented Interfaces:
    Cloneable, Comparable<org.revapi.java.spi.JavaElement>, org.revapi.Element<org.revapi.java.spi.JavaElement>, org.revapi.java.spi.JavaElement, org.revapi.java.spi.JavaModelElement, org.revapi.java.spi.JavaTypeElement
    Direct Known Subclasses:
    MissingClassElement

    public class TypeElement
    extends JavaElementBase<TypeElement,​DeclaredType>
    implements org.revapi.java.spi.JavaTypeElement
    Since:
    0.1
    Author:
    Lukas Krejci
    • Constructor Detail

      • TypeElement

        public TypeElement​(ProbingEnvironment env,
                           org.revapi.Archive archive,
                           TypeElement element,
                           DeclaredType type)
        This constructor is used under "normal working conditions" when the probing environment already has the compilation infrastructure available (which is assumed since otherwise it would not be possible to obtain instances of the javax.lang.model.element.TypeElement interface).
        Parameters:
        env - the probing environment
        element - the model element to be represented