Package org.aspectj.weaver
Klasse World.TypeMap
java.lang.Object
org.aspectj.weaver.World.TypeMap
- Umschließende Klasse:
World
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final int
int
static final int
static final int
static boolean
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
checkq()
void
classWriteEvent
(String classname) int
demote()
int
demote
(boolean atEndOfCompile) Go through any types added during the previous file weave.void
demote
(ResolvedType type) Lookup a type by its signature, always look in the real map before the expendable mapput
(String key, ResolvedType type) Add a new type into the map, the key is the type signature.Remove a type from the mapvoid
report()
-
Felddetails
-
DONT_USE_REFS
public static final int DONT_USE_REFS- Siehe auch:
-
USE_WEAK_REFS
public static final int USE_WEAK_REFS- Siehe auch:
-
USE_SOFT_REFS
public static final int USE_SOFT_REFS- Siehe auch:
-
addedSinceLastDemote
-
writtenClasses
-
useExpendableMap
public static boolean useExpendableMap -
policy
public int policy
-
-
Methodendetails
-
getExpendableMap
-
getMainMap
-
demote
public int demote() -
demote
public int demote(boolean atEndOfCompile) Go through any types added during the previous file weave. If any are suitable for demotion, then put them in the expendable map where GC can claim them at some point later. Demotion means: the type is not an aspect, the type is not java.lang.Object, the type is not primitive and the type is not affected by type mungers in any way. Further refinements of these conditions may allow for more demotions.- Gibt zurück:
- number of types demoted
-
put
Add a new type into the map, the key is the type signature. Some types do *not* go in the map, these are ones involving *member* type variables. The reason is that when all you have is the signature which gives you a type variable name, you cannot guarantee you are using the type variable in the same way as someone previously working with a similarly named type variable. So, these do not go into the map: - TypeVariableReferenceType. - ParameterizedType where a member type variable is involved. - BoundedReferenceType when one of the bounds is a type variable. definition: "member type variables" - a tvar declared on a generic method/ctor as opposed to those you see declared on a generic type. -
report
public void report() -
checkq
public void checkq() -
get
Lookup a type by its signature, always look in the real map before the expendable map -
remove
Remove a type from the map -
classWriteEvent
-
demote
-