com.ibm.wala.cast.java.translator.polyglot
Class PolyglotJava2CAstTranslator.RootContext
java.lang.Object
com.ibm.wala.cast.java.translator.polyglot.PolyglotJava2CAstTranslator.RootContext
- All Implemented Interfaces:
- PolyglotJava2CAstTranslator.WalkContext
- Enclosing class:
- PolyglotJava2CAstTranslator
protected static class PolyglotJava2CAstTranslator.RootContext
- extends java.lang.Object
- implements PolyglotJava2CAstTranslator.WalkContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolyglotJava2CAstTranslator.RootContext
public PolyglotJava2CAstTranslator.RootContext(CAstTypeDictionary typeDict)
addScopedEntity
public void addScopedEntity(CAstNode node,
CAstEntity e)
- Specified by:
addScopedEntity in interface PolyglotJava2CAstTranslator.WalkContext
cfg
public CAstControlFlowRecorder cfg()
- Specified by:
cfg in interface PolyglotJava2CAstTranslator.WalkContext
getCatchTargets
public java.util.Collection<Pair<polyglot.types.Type,java.lang.Object>> getCatchTargets(polyglot.types.Type label)
- Specified by:
getCatchTargets in interface PolyglotJava2CAstTranslator.WalkContext
getNodeTypeMap
public CAstNodeTypeMapRecorder getNodeTypeMap()
- Specified by:
getNodeTypeMap in interface PolyglotJava2CAstTranslator.WalkContext
getFinally
public polyglot.ast.Node getFinally()
- Specified by:
getFinally in interface PolyglotJava2CAstTranslator.WalkContext
pos
public CAstSourcePositionRecorder pos()
- Specified by:
pos in interface PolyglotJava2CAstTranslator.WalkContext
getContinueFor
public polyglot.ast.Node getContinueFor(java.lang.String label)
- Specified by:
getContinueFor in interface PolyglotJava2CAstTranslator.WalkContext
getBreakFor
public polyglot.ast.Node getBreakFor(java.lang.String label)
- Specified by:
getBreakFor in interface PolyglotJava2CAstTranslator.WalkContext
getEnclosingMethod
public polyglot.types.CodeInstance getEnclosingMethod()
- Specified by:
getEnclosingMethod in interface PolyglotJava2CAstTranslator.WalkContext
getEnclosingType
public polyglot.types.Type getEnclosingType()
- Specified by:
getEnclosingType in interface PolyglotJava2CAstTranslator.WalkContext
getTypeDictionary
public CAstTypeDictionary getTypeDictionary()
- Specified by:
getTypeDictionary in interface PolyglotJava2CAstTranslator.WalkContext
getStaticInitializers
public java.util.List<polyglot.ast.ClassMember> getStaticInitializers()
- Specified by:
getStaticInitializers in interface PolyglotJava2CAstTranslator.WalkContext
getInitializers
public java.util.List<polyglot.ast.ClassMember> getInitializers()
- Specified by:
getInitializers in interface PolyglotJava2CAstTranslator.WalkContext
getLabelMap
public java.util.Map<polyglot.ast.Node,java.lang.String> getLabelMap()
- Specified by:
getLabelMap in interface PolyglotJava2CAstTranslator.WalkContext
needLVal
public boolean needLVal()
- Specified by:
needLVal in interface PolyglotJava2CAstTranslator.WalkContext