Class JDTJava2CAstTranslator.ClassEntity

  • All Implemented Interfaces:
    com.ibm.wala.cast.tree.CAstEntity
    Enclosing class:
    JDTJava2CAstTranslator<T extends com.ibm.wala.cast.tree.CAstSourcePositionMap.Position>

    protected final class JDTJava2CAstTranslator.ClassEntity
    extends java.lang.Object
    implements com.ibm.wala.cast.tree.CAstEntity
    • Field Summary

      • Fields inherited from interface com.ibm.wala.cast.tree.CAstEntity

        FIELD_ENTITY, FILE_ENTITY, FUNCTION_ENTITY, GLOBAL_ENTITY, MACRO_ENTITY, RULE_ENTITY, SCRIPT_ENTITY, SUB_LANGUAGE_BASE, TYPE_ENTITY
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassEntity​(org.eclipse.jdt.core.dom.ITypeBinding jdtType, java.lang.String name, java.util.Collection<com.ibm.wala.cast.tree.CAstQualifier> quals, java.util.Collection<com.ibm.wala.cast.tree.CAstEntity> entities, T pos, T namePos)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<com.ibm.wala.cast.tree.CAstNode,​java.util.Collection<com.ibm.wala.cast.tree.CAstEntity>> getAllScopedEntities()  
      java.util.Collection<com.ibm.wala.cast.tree.CAstAnnotation> getAnnotations()  
      int getArgumentCount()  
      com.ibm.wala.cast.tree.CAstNode[] getArgumentDefaults()  
      java.lang.String[] getArgumentNames()  
      com.ibm.wala.cast.tree.CAstNode getAST()  
      com.ibm.wala.cast.tree.CAstControlFlowMap getControlFlow()  
      int getKind()  
      java.lang.String getName()  
      com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getNamePosition()  
      com.ibm.wala.cast.tree.CAstNodeTypeMap getNodeTypeMap()  
      com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getPosition()  
      com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getPosition​(int arg)  
      java.util.Collection<com.ibm.wala.cast.tree.CAstQualifier> getQualifiers()  
      java.util.Iterator<com.ibm.wala.cast.tree.CAstEntity> getScopedEntities​(com.ibm.wala.cast.tree.CAstNode construct)  
      java.lang.String getSignature()  
      com.ibm.wala.cast.tree.CAstSourcePositionMap getSourceMap()  
      com.ibm.wala.cast.tree.CAstType getType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.wala.cast.tree.CAstEntity

        getOriginal
    • Constructor Detail

      • ClassEntity

        public ClassEntity​(org.eclipse.jdt.core.dom.ITypeBinding jdtType,
                           java.lang.String name,
                           java.util.Collection<com.ibm.wala.cast.tree.CAstQualifier> quals,
                           java.util.Collection<com.ibm.wala.cast.tree.CAstEntity> entities,
                           T pos,
                           T namePos)
    • Method Detail

      • getPosition

        public com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getPosition​(int arg)
        Specified by:
        getPosition in interface com.ibm.wala.cast.tree.CAstEntity
      • getAnnotations

        public java.util.Collection<com.ibm.wala.cast.tree.CAstAnnotation> getAnnotations()
        Specified by:
        getAnnotations in interface com.ibm.wala.cast.tree.CAstEntity
      • getKind

        public int getKind()
        Specified by:
        getKind in interface com.ibm.wala.cast.tree.CAstEntity
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.ibm.wala.cast.tree.CAstEntity
      • getSignature

        public java.lang.String getSignature()
        Specified by:
        getSignature in interface com.ibm.wala.cast.tree.CAstEntity
      • getArgumentNames

        public java.lang.String[] getArgumentNames()
        Specified by:
        getArgumentNames in interface com.ibm.wala.cast.tree.CAstEntity
      • getArgumentDefaults

        public com.ibm.wala.cast.tree.CAstNode[] getArgumentDefaults()
        Specified by:
        getArgumentDefaults in interface com.ibm.wala.cast.tree.CAstEntity
      • getArgumentCount

        public int getArgumentCount()
        Specified by:
        getArgumentCount in interface com.ibm.wala.cast.tree.CAstEntity
      • getAST

        public com.ibm.wala.cast.tree.CAstNode getAST()
        Specified by:
        getAST in interface com.ibm.wala.cast.tree.CAstEntity
      • getAllScopedEntities

        public java.util.Map<com.ibm.wala.cast.tree.CAstNode,​java.util.Collection<com.ibm.wala.cast.tree.CAstEntity>> getAllScopedEntities()
        Specified by:
        getAllScopedEntities in interface com.ibm.wala.cast.tree.CAstEntity
      • getScopedEntities

        public java.util.Iterator<com.ibm.wala.cast.tree.CAstEntity> getScopedEntities​(com.ibm.wala.cast.tree.CAstNode construct)
        Specified by:
        getScopedEntities in interface com.ibm.wala.cast.tree.CAstEntity
      • getControlFlow

        public com.ibm.wala.cast.tree.CAstControlFlowMap getControlFlow()
        Specified by:
        getControlFlow in interface com.ibm.wala.cast.tree.CAstEntity
      • getSourceMap

        public com.ibm.wala.cast.tree.CAstSourcePositionMap getSourceMap()
        Specified by:
        getSourceMap in interface com.ibm.wala.cast.tree.CAstEntity
      • getPosition

        public com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getPosition()
        Specified by:
        getPosition in interface com.ibm.wala.cast.tree.CAstEntity
      • getNodeTypeMap

        public com.ibm.wala.cast.tree.CAstNodeTypeMap getNodeTypeMap()
        Specified by:
        getNodeTypeMap in interface com.ibm.wala.cast.tree.CAstEntity
      • getQualifiers

        public java.util.Collection<com.ibm.wala.cast.tree.CAstQualifier> getQualifiers()
        Specified by:
        getQualifiers in interface com.ibm.wala.cast.tree.CAstEntity
      • getType

        public com.ibm.wala.cast.tree.CAstType getType()
        Specified by:
        getType in interface com.ibm.wala.cast.tree.CAstEntity
      • getNamePosition

        public com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getNamePosition()
        Specified by:
        getNamePosition in interface com.ibm.wala.cast.tree.CAstEntity