Klasse LTWWorld

Alle implementierten Schnittstellen:
Repository, Dump.INode, IReflectionWorld

public class LTWWorld extends BcelWorld implements IReflectionWorld
Autor:
adrian, Ron Bodkin For use in LT weaving Backed by both a BcelWorld and a ReflectionWorld Needs a callback when a woven class is defined This is the trigger for us to ditch the class from Bcel and cache it in the reflective world instead. Create by passing in a classloader, message handler
  • Felddetails

    • concurrentMapClass

      protected static final Class concurrentMapClass
    • bootstrapTypes

      protected static Map bootstrapTypes
  • Konstruktordetails

  • Methodendetails

    • getClassLoader

      public ClassLoader getClassLoader()
    • resolveDelegate

      protected ReferenceTypeDelegate resolveDelegate(ReferenceType ty)
      Override
      Setzt außer Kraft:
      resolveDelegate in Klasse BcelWorld
    • resolveIfBootstrapDelegate

      protected ReferenceTypeDelegate resolveIfBootstrapDelegate(ReferenceType ty)
    • loadedClass

      public void loadedClass(Class clazz)
      Remove this class from the typeMap. Call back to be made from a publishing class loader The class loader should, ideally, make this call on each not yet working
      Parameter:
      clazz -
    • getAnnotationFinder

      public AnnotationFinder getAnnotationFinder()
      Angegeben von:
      getAnnotationFinder in Schnittstelle IReflectionWorld
    • resolve

      public ResolvedType resolve(Class aClass)
      Angegeben von:
      resolve in Schnittstelle IReflectionWorld
    • isRunMinimalMemory

      public boolean isRunMinimalMemory()
      Setzt außer Kraft:
      isRunMinimalMemory in Klasse World
    • completeBinaryType

      protected void completeBinaryType(ResolvedType ret)
      Beschreibung aus Klasse kopiert: World
      Called when a type is resolved - enables its type hierarchy to be finished off before we proceed
      Setzt außer Kraft:
      completeBinaryType in Klasse World
    • needsCompletion

      protected boolean needsCompletion()
    • isLocallyDefined

      public boolean isLocallyDefined(String classname)
      Beschreibung aus Klasse kopiert: World
      Return true if the classloader relating to this world is definetly the one that will define the specified class. Return false otherwise or we don't know for certain.
      Setzt außer Kraft:
      isLocallyDefined in Klasse World
    • completeNonLocalType

      protected ResolvedType completeNonLocalType(ResolvedType ret)
    • storeClass

      public void storeClass(JavaClass clazz)
      Beschreibung aus Schnittstelle kopiert: Repository
      Store the provided class under "clazz.getClassName()"
      Angegeben von:
      storeClass in Schnittstelle Repository
      Setzt außer Kraft:
      storeClass in Klasse BcelWorld
    • accept

      public void accept(Dump.IVisitor visitor)
      Beschreibung aus Klasse kopiert: World
      Dump processing when a fatal error occurs
      Angegeben von:
      accept in Schnittstelle Dump.INode
      Setzt außer Kraft:
      accept in Klasse World
    • isLoadtimeWeaving

      public boolean isLoadtimeWeaving()
      Setzt außer Kraft:
      isLoadtimeWeaving in Klasse BcelWorld