Klasse JavaModelCache

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaModelCache

public class JavaModelCache extends Object
The cache of java elements to their respective info.
  • Felddetails

  • Konstruktordetails

    • JavaModelCache

      public JavaModelCache()
  • Methodendetails

    • getInfo

      public Object getInfo(IJavaElement element)
      Returns the info for the element.
    • getExistingElement

      public IJavaElement getExistingElement(IJavaElement element)
    • getMemoryRatio

      protected double getMemoryRatio()
    • peekAtInfo

      protected Object peekAtInfo(IJavaElement element)
      Returns the info for this element without disturbing the cache ordering.
    • putInfo

      protected void putInfo(IJavaElement element, Object info)
      Remember the info for the element.
    • getElementType

      public static String getElementType(IJavaElement element)
    • removeInfo

      protected void removeInfo(JavaElement element)
      Removes the info of the element from the cache.
    • resetJarTypeCache

      protected void resetJarTypeCache()
    • removeFromJarTypeCache

      protected void removeFromJarTypeCache(BinaryType type)
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • toStringFillingRation

      public String toStringFillingRation(String prefix)