Package org.aspectj.asm
Class AsmManager
- java.lang.Object
-
- org.aspectj.asm.AsmManager
-
- All Implemented Interfaces:
IStructureModel
public class AsmManager extends Object implements IStructureModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsmManager.ModelInfo
-
Field Summary
Fields Modifier and Type Field Description static booleanattemptIncrementalModelRepairsstatic booleandumpModelPostBuildstatic booleanforceSingletonBehaviourprotected IHierarchyhierarchyprotected Map<File,String>inpathMapstatic AsmManagerlastActiveStructureModelstatic booleanrecordingLastActiveStructureModel
-
Method Summary
-
-
-
Field Detail
-
recordingLastActiveStructureModel
public static boolean recordingLastActiveStructureModel
-
lastActiveStructureModel
public static AsmManager lastActiveStructureModel
-
forceSingletonBehaviour
public static boolean forceSingletonBehaviour
-
attemptIncrementalModelRepairs
public static boolean attemptIncrementalModelRepairs
-
dumpModelPostBuild
public static boolean dumpModelPostBuild
-
hierarchy
protected IHierarchy hierarchy
-
-
Method Detail
-
createNewStructureModel
public static AsmManager createNewStructureModel(Map<File,String> inpathMap)
-
getHierarchy
public IHierarchy getHierarchy()
-
getRelationshipMap
public IRelationshipMap getRelationshipMap()
-
fireModelUpdated
public void fireModelUpdated()
-
getInlineAnnotations
public HashMap<Integer,List<IProgramElement>> getInlineAnnotations(String sourceFile, boolean showSubMember, boolean showMemberAndType)
-
addListener
public void addListener(IHierarchyListener listener)
-
removeStructureListener
public void removeStructureListener(IHierarchyListener listener)
-
removeAllListeners
public void removeAllListeners()
-
getHandleProvider
public IElementHandleProvider getHandleProvider()
-
setHandleProvider
public void setHandleProvider(IElementHandleProvider handleProvider)
-
writeStructureModel
public void writeStructureModel(String configFilePath)
-
readStructureModel
public void readStructureModel(String configFilePath)
-
getCanonicalFilePathMap
public org.aspectj.asm.AsmManager.CanonicalFilePathMap getCanonicalFilePathMap()
-
setReporting
public static void setReporting(String filename, boolean dModel, boolean dRels, boolean dDeltaProcessing, boolean deletefile)
-
setReporting
public static void setReporting(String filename, boolean dModel, boolean dRels, boolean dDeltaProcessing, boolean deletefile, IModelFilter aFilter)
-
isReporting
public static boolean isReporting()
-
setDontReport
public static void setDontReport()
-
reportModelInfo
public void reportModelInfo(String reasonForReport)
-
dumptree
public static void dumptree(Writer w, IProgramElement node, int indent) throws IOException
- Throws:
IOException
-
dumptree
public static void dumptree(IProgramElement node, int indent) throws IOException
- Throws:
IOException
-
dumprels
public void dumprels(Writer w) throws IOException
- Throws:
IOException
-
removeStructureModelForFiles
public boolean removeStructureModelForFiles(Writer fw, Collection<File> files) throws IOException
- Throws:
IOException
-
processDelta
public void processDelta(Collection<File> files_tobecompiled, Set<File> files_added, Set<File> files_deleted)
-
removeRelationshipsTargettingThisType
public void removeRelationshipsTargettingThisType(String typename)
-
verifyAssumption
public static void verifyAssumption(boolean b, String info)
-
verifyAssumption
public static void verifyAssumption(boolean b)
-
summarizeModel
public AsmManager.ModelInfo summarizeModel()
-
setCompletingTypeBindings
public static void setCompletingTypeBindings(boolean b)
-
isCompletingTypeBindings
public static boolean isCompletingTypeBindings()
-
resetDeltaProcessing
public void resetDeltaProcessing()
-
addAspectInEffectThisBuild
public void addAspectInEffectThisBuild(File f)
-
setLastActiveStructureModel
public static void setLastActiveStructureModel(AsmManager structureModel)
-
-