Class ASTClassOrInterfaceType

    • Method Detail

      • isReferenceToClassSameCompilationUnit

        public boolean isReferenceToClassSameCompilationUnit()
        Checks whether the type this node is referring to is declared within the same compilation unit - either a class/interface or a enum type. You want to check this, if AbstractJavaTypeNode.getType() is null.
        Returns:
        true if this node referencing a type in the same compilation unit, false otherwise.
      • isAnonymousClass

        public boolean isAnonymousClass()
      • isArray

        public boolean isArray()
      • getArrayDepth

        public int getArrayDepth()