class ProjectIndex extends AnyRef
An index that enables the efficient lookup of source elements (methods and fields)
given the method's/field's name and the descriptor/field type. The index contains fields
with public, protected, <default>
and private visibility.
Basically an index of the source elements (methods and fields) of a project.
This index can be used, e.g., to resolve method calls based on the method's names and/or descriptors.
To get an instance of a project index call Project.get and pass in the ProjectIndexKey object.
- Source
- ProjectIndex.scala
- See also
FieldAccessInformation to get the information where a field is accessed.
- Alphabetic
- By Inheritance
- ProjectIndex
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val fields: Map[String, Map[FieldType, List[Field]]]
- def findFields(name: String): Iterable[Field]
- def findFields(name: String, fieldType: FieldType): List[Field]
- def findMethods(name: String): Iterable[Method]
- def findMethods(name: String, descriptor: MethodDescriptor): List[Method]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val methods: Map[String, Map[MethodDescriptor, List[Method]]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def statistics(): Map[String, Any]
Returns a map of some basic statistical information, such as the most often used field/method name.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated