class ClassfileLoader extends SymbolLoader with (symbolTable)#FlagAssigningCompleter
- Alphabetic
- By Inheritance
- ClassfileLoader
- FlagAssigningCompleter
- SymbolLoader
- SymLoader
- LazyType
- Type
- Annotatable
- TypeApiImpl
- TypeApi
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ClassfileLoader(classfile: AbstractFile)
Type Members
-
class
FilterMapForeach extends reflect.internal.SymbolTable.FilterTypeCollector
- Definition Classes
- Type
Value Members
-
final
def
!=(arg0: Any): Boolean
Test two objects for inequality.
Test two objects for inequality.
- returns
true
if !(this == that), false otherwise.
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
Equivalent to
x.hashCode
except for boxed numeric types andnull
.Equivalent to
x.hashCode
except for boxed numeric types andnull
. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. Fornull
returns a hashcode wherenull.hashCode
throws aNullPointerException
.- returns
a hash value consistent with ==
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ClassfileLoader to any2stringadd[ClassfileLoader] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ClassfileLoader, B)
- Implicit
- This member is added by an implicit conversion from ClassfileLoader to ArrowAssoc[ClassfileLoader] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
def
<:<(that: (symbolTable)#Type): Boolean
- Definition Classes
- Type → TypeApi
-
def
=:=(that: (symbolTable)#Type): Boolean
- Definition Classes
- Type → TypeApi
-
final
def
==(arg0: Any): Boolean
The expression
x == that
is equivalent toif (x eq null) that eq null else x.equals(that)
.The expression
x == that
is equivalent toif (x eq null) that eq null else x.equals(that)
.- returns
true
if the receiver object is equivalent to the argument;false
otherwise.
- Definition Classes
- AnyRef → Any
-
def
addThrowsAnnotation(throwableSym: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Annotatable
-
def
annotations: List[(symbolTable)#AnnotationInfo]
- Definition Classes
- Type → Annotatable
-
final
def
asInstanceOf[T0]: T0
Cast the receiver object to be of type
T0
.Cast the receiver object to be of type
T0
.Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression
1.asInstanceOf[String]
will throw aClassCastException
at runtime, while the expressionList(1).asInstanceOf[List[String]]
will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.- returns
the receiver object.
- Definition Classes
- Any
- Exceptions thrown
ClassCastException
if the receiver object is not an instance of the erasure of typeT0
.
-
def
asSeenFrom(pre: (symbolTable)#Type, clazz: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
def
atOwner(owner: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Type
-
def
baseClasses: List[(symbolTable)#Symbol]
- Definition Classes
- Type → TypeApi
-
def
baseType(clazz: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
def
baseTypeIndex(sym: (symbolTable)#Symbol): Int
- Definition Classes
- Type
-
def
baseTypeSeq: (symbolTable)#BaseTypeSeq
- Definition Classes
- Type
-
def
baseTypeSeqDepth: Depth
- Definition Classes
- Type
-
def
betaReduce: (symbolTable)#Type
- Definition Classes
- Type
-
def
boundSyms: Set[(symbolTable)#Symbol]
- Definition Classes
- Type
-
def
bounds: (symbolTable)#TypeBounds
- Definition Classes
- Type
- val classfile: AbstractFile
-
def
clone(): AnyRef
Create a copy of the receiver object.
Create a copy of the receiver object.
The default implementation of the
clone
method is platform dependent.- returns
a copy of the receiver object.
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- Note
not specified by SLS as a member of AnyRef
-
def
cloneInfo(owner: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Type
-
def
collect[T](pf: PartialFunction[(symbolTable)#Type, T]): List[T]
- Definition Classes
- Type
-
def
companion: (symbolTable)#Type
- Definition Classes
- TypeApiImpl → TypeApi
-
def
complete(root: (symbolTable)#Symbol): Unit
- Definition Classes
- SymbolLoader → LazyType → Type
-
def
computeMemberType(sym: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Type
-
def
contains(sym: (symbolTable)#Symbol): Boolean
- Definition Classes
- Type → TypeApi
-
def
dealias: (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
def
dealiasWiden: (symbolTable)#Type
- Definition Classes
- Type
-
def
dealiasWidenChain: List[(symbolTable)#Type]
- Definition Classes
- Type
-
def
decl(name: (symbolTable)#Name): (symbolTable)#Symbol
- Definition Classes
- Type → TypeApi
-
def
declaration(name: (symbolTable)#Name): (symbolTable)#Symbol
- Definition Classes
- TypeApiImpl → TypeApi
-
def
declarations: (symbolTable)#Scope
- Definition Classes
- TypeApiImpl → TypeApi
-
def
decls: (symbolTable)#Scope
- Definition Classes
- Type → TypeApi
-
def
deconst: (symbolTable)#Type
- Definition Classes
- Type
-
def
deferredMembers: (symbolTable)#Scope
- Definition Classes
- Type
-
def
description: String
Description of the resource (ClassPath, AbstractFile) being processed by this loader
Description of the resource (ClassPath, AbstractFile) being processed by this loader
- Attributes
- protected
- Definition Classes
- ClassfileLoader → SymbolLoader
-
def
directObjectString: String
- Definition Classes
- Type
-
def
doComplete(root: (symbolTable)#Symbol): Unit
Load source or class file for
root
, returnLoad source or class file for
root
, return- Attributes
- protected
- Definition Classes
- ClassfileLoader → SymbolLoader
-
def
dummyArgs: List[(symbolTable)#Type]
- Attributes
- protected
- Definition Classes
- Type
-
def
ensuring(cond: (ClassfileLoader) ⇒ Boolean, msg: ⇒ Any): ClassfileLoader
- Implicit
- This member is added by an implicit conversion from ClassfileLoader to Ensuring[ClassfileLoader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ClassfileLoader) ⇒ Boolean): ClassfileLoader
- Implicit
- This member is added by an implicit conversion from ClassfileLoader to Ensuring[ClassfileLoader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ClassfileLoader
- Implicit
- This member is added by an implicit conversion from ClassfileLoader to Ensuring[ClassfileLoader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ClassfileLoader
- Implicit
- This member is added by an implicit conversion from ClassfileLoader to Ensuring[ClassfileLoader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
Tests whether the argument (
that
) is a reference to the receiver object (this
).Tests whether the argument (
that
) is a reference to the receiver object (this
).The
eq
method implements an equivalence relation on non-null instances ofAnyRef
, and has three additional properties:- It is consistent: for any non-null instances
x
andy
of typeAnyRef
, multiple invocations ofx.eq(y)
consistently returnstrue
or consistently returnsfalse
. - For any non-null instance
x
of typeAnyRef
,x.eq(null)
andnull.eq(x)
returnsfalse
. null.eq(null)
returnstrue
.
When overriding the
equals
orhashCode
methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2
), they should be equal to each other (o1 == o2
) and they should hash to the same value (o1.hashCode == o2.hashCode
).- returns
true
if the argument is a reference to the receiver object;false
otherwise.
- Definition Classes
- AnyRef
- It is consistent: for any non-null instances
-
def
equals(arg0: Any): Boolean
The equality method for reference types.
-
def
erasure: (symbolTable)#Type
- Definition Classes
- TypeApiImpl → TypeApi
-
def
etaExpand: (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
def
exists(p: ((symbolTable)#Type) ⇒ Boolean): Boolean
- Definition Classes
- Type → TypeApi
-
def
filterAnnotations(p: ((symbolTable)#AnnotationInfo) ⇒ Boolean): (symbolTable)#Type
- Definition Classes
- Type → Annotatable
-
final
def
finalResultType: (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
def
finalize(): Unit
Called by the garbage collector on the receiver object when there are no more references to the object.
Called by the garbage collector on the receiver object when there are no more references to the object.
The details of when and if the
finalize
method is invoked, as well as the interaction betweenfinalize
and non-local returns and exceptions, are all platform dependent.- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- Note
not specified by SLS as a member of AnyRef
-
def
find(p: ((symbolTable)#Type) ⇒ Boolean): Option[(symbolTable)#Type]
- Definition Classes
- Type → TypeApi
-
def
findMember(name: (symbolTable)#Name, excludedFlags: Long, requiredFlags: Long, stableOnly: Boolean): (symbolTable)#Symbol
- Definition Classes
- Type
-
def
findMembers(excludedFlags: Long, requiredFlags: Long): (symbolTable)#Scope
- Definition Classes
- Type
-
def
firstParent: (symbolTable)#Type
- Definition Classes
- Type
-
def
foreach(f: ((symbolTable)#Type) ⇒ Unit): Unit
- Definition Classes
- Type → TypeApi
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ClassfileLoader to StringFormat[ClassfileLoader] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
fromSource: Boolean
- Definition Classes
- SymLoader
-
def
getAnnotation(cls: (symbolTable)#Symbol): Option[(symbolTable)#AnnotationInfo]
- Definition Classes
- Annotatable
-
final
def
getClass(): Class[_]
Returns the runtime class representation of the object.
Returns the runtime class representation of the object.
- returns
a class object corresponding to the runtime type of the receiver.
- Definition Classes
- AnyRef → Any
-
def
hasAnnotation(cls: (symbolTable)#Symbol): Boolean
- Definition Classes
- Annotatable
-
def
hashCode(): Int
The hashCode method for reference types.
-
def
implicitMembers: (symbolTable)#Scope
- Definition Classes
- Type
-
def
instantiateTypeParams(formals: List[(symbolTable)#Symbol], actuals: List[(symbolTable)#Type]): (symbolTable)#Type
- Definition Classes
- Type
-
def
isComplete: Boolean
- Definition Classes
- LazyType → Type
-
def
isDependentMethodType: Boolean
- Definition Classes
- Type
-
def
isErroneous: Boolean
- Definition Classes
- Type
-
def
isError: Boolean
- Definition Classes
- Type
-
def
isFinalType: Boolean
- Definition Classes
- Type
-
def
isGround: Boolean
- Definition Classes
- Type
-
def
isHigherKinded: Boolean
- Definition Classes
- Type
-
def
isImmediatelyDependent: Boolean
- Definition Classes
- Type
-
final
def
isInstanceOf[T0]: Boolean
Test whether the dynamic type of the receiver object is
T0
.Test whether the dynamic type of the receiver object is
T0
.Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression
1.isInstanceOf[String]
will returnfalse
, while the expressionList(1).isInstanceOf[List[String]]
will returntrue
. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.- returns
true
if the receiver object is an instance of erasure of typeT0
;false
otherwise.
- Definition Classes
- Any
-
def
isSpliceable: Boolean
- Definition Classes
- TypeApiImpl
-
final
def
isStable: Boolean
- Definition Classes
- Type
-
def
isStructuralRefinement: Boolean
- Definition Classes
- Type
-
def
isTrivial: Boolean
- Definition Classes
- Type
-
final
def
isVolatile: Boolean
- Definition Classes
- Type
-
def
isWildcard: Boolean
- Definition Classes
- Type
-
def
kind: String
- Definition Classes
- LazyType → Type
-
def
load(root: (symbolTable)#Symbol): Unit
- Definition Classes
- SymbolLoader → Type
-
def
looselyMatches(that: (symbolTable)#Type): Boolean
- Definition Classes
- Type
-
def
map(f: ((symbolTable)#Type) ⇒ (symbolTable)#Type): (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
def
matches(that: (symbolTable)#Type): Boolean
- Definition Classes
- Type
-
def
matchesPattern(that: (symbolTable)#Type): Boolean
- Definition Classes
- Type
-
def
member(name: (symbolTable)#Name): (symbolTable)#Symbol
- Definition Classes
- Type → TypeApi
-
def
memberBasedOnName(name: (symbolTable)#Name, excludedFlags: Long): (symbolTable)#Symbol
- Definition Classes
- Type
-
def
memberInfo(sym: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Type
-
def
memberType(sym: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Type
-
def
members: (symbolTable)#Scope
- Definition Classes
- Type → TypeApi
-
def
membersBasedOnFlags(excludedFlags: Long, requiredFlags: Long): (symbolTable)#Scope
- Definition Classes
- Type
-
def
narrow: (symbolTable)#Type
- Definition Classes
- Type
-
final
def
ne(arg0: AnyRef): Boolean
Equivalent to
!(this eq that)
.Equivalent to
!(this eq that)
.- returns
true
if the argument is not a reference to the receiver object;false
otherwise.
- Definition Classes
- AnyRef
-
def
nonLocalMember(name: (symbolTable)#Name): (symbolTable)#Symbol
- Definition Classes
- Type
-
def
nonPrivateDecl(name: (symbolTable)#Name): (symbolTable)#Symbol
- Definition Classes
- Type
-
def
nonPrivateDecls: List[(symbolTable)#Symbol]
- Definition Classes
- Type
-
def
nonPrivateMember(name: (symbolTable)#Name): (symbolTable)#Symbol
- Definition Classes
- Type
-
def
nonPrivateMemberAdmitting(name: (symbolTable)#Name, admit: Long): (symbolTable)#Symbol
- Definition Classes
- Type
-
def
nonPrivateMembers: (symbolTable)#Scope
- Definition Classes
- Type
-
def
nonPrivateMembersAdmitting(admit: Long): (symbolTable)#Scope
- Definition Classes
- Type
-
def
normalize: (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
final
def
notify(): Unit
Wakes up a single thread that is waiting on the receiver object's monitor.
Wakes up a single thread that is waiting on the receiver object's monitor.
- Definition Classes
- AnyRef
- Note
not specified by SLS as a member of AnyRef
-
final
def
notifyAll(): Unit
Wakes up all threads that are waiting on the receiver object's monitor.
Wakes up all threads that are waiting on the receiver object's monitor.
- Definition Classes
- AnyRef
- Note
not specified by SLS as a member of AnyRef
-
def
objectPrefix: String
- Attributes
- protected
- Definition Classes
- Type
-
final
def
orElse(alt: ⇒ (symbolTable)#Type): (symbolTable)#Type
- Definition Classes
- Type → TypeApi
- Annotations
- @inline()
-
def
packageObject: (symbolTable)#Symbol
- Definition Classes
- Type
-
def
packagePrefix: String
- Attributes
- protected
- Definition Classes
- Type
-
def
paramLists: List[List[(symbolTable)#Symbol]]
- Definition Classes
- TypeApiImpl → TypeApi
-
def
paramSectionCount: Int
- Definition Classes
- Type
-
def
paramTypes: List[(symbolTable)#Type]
- Definition Classes
- Type
-
def
params: List[(symbolTable)#Symbol]
- Definition Classes
- Type
-
def
paramss: List[List[(symbolTable)#Symbol]]
- Definition Classes
- Type → TypeApi
-
def
parents: List[(symbolTable)#Type]
- Definition Classes
- Type
-
def
prefix: (symbolTable)#Type
- Definition Classes
- Type
-
def
prefixChain: List[(symbolTable)#Type]
- Definition Classes
- Type
-
def
prefixString: String
- Definition Classes
- Type
-
def
removeAnnotation(cls: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Annotatable
-
def
resultApprox: (symbolTable)#Type
- Definition Classes
- Type
-
def
resultType(actuals: List[(symbolTable)#Type]): (symbolTable)#Type
- Definition Classes
- Type
-
def
resultType: (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
def
safeToString: String
- Definition Classes
- LazyType → Type
-
def
setAnnotations(annots: List[(symbolTable)#AnnotationInfo]): (symbolTable)#Type
- Definition Classes
- Type → Annotatable
-
def
skolemizeExistential: (symbolTable)#Type
- Definition Classes
- Type
-
def
skolemizeExistential(owner: (symbolTable)#Symbol, origin: AnyRef): (symbolTable)#Type
- Definition Classes
- Type
-
def
skolemsExceptMethodTypeParams: List[(symbolTable)#Symbol]
- Definition Classes
- Type
-
def
sourcefile: Option[AbstractFile]
- Definition Classes
- ClassfileLoader → SymbolLoader
-
def
stat_<:<(that: (symbolTable)#Type): Boolean
- Definition Classes
- Type
-
def
staticAnnotations: collection.immutable.List[(symbolTable)#AnnotationInfo]
- Definition Classes
- Annotatable
-
def
subst(from: List[(symbolTable)#Symbol], to: List[(symbolTable)#Type]): (symbolTable)#Type
- Definition Classes
- Type
-
def
substSym(from: List[(symbolTable)#Symbol], to: List[(symbolTable)#Symbol]): (symbolTable)#Type
- Definition Classes
- Type
-
def
substThis(from: (symbolTable)#Symbol, to: (symbolTable)#Symbol): (symbolTable)#Type
- Definition Classes
- Type
-
def
substThis(from: (symbolTable)#Symbol, to: (symbolTable)#Type): (symbolTable)#Type
- Definition Classes
- Type
-
def
substThisAndSym(from: (symbolTable)#Symbol, to: (symbolTable)#Type, symsFrom: List[(symbolTable)#Symbol], symsTo: List[(symbolTable)#Symbol]): (symbolTable)#Type
- Definition Classes
- Type
-
def
substituteSymbols(from: List[(symbolTable)#Symbol], to: List[(symbolTable)#Symbol]): (symbolTable)#Type
- Definition Classes
- TypeApiImpl → TypeApi
-
def
substituteTypes(from: List[(symbolTable)#Symbol], to: List[(symbolTable)#Type]): (symbolTable)#Type
- Definition Classes
- TypeApiImpl → TypeApi
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
takesTypeArgs: Boolean
- Definition Classes
- Type → TypeApi
-
def
termSymbol: (symbolTable)#Symbol
- Definition Classes
- Type → TypeApi
-
def
termSymbolDirect: (symbolTable)#Symbol
- Definition Classes
- Type
-
def
toLongString: String
- Definition Classes
- Type
-
final
def
toString(): String
Creates a String representation of this object.
Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.
- returns
a String representation of the object.
- Definition Classes
- Type → AnyRef → Any
-
def
trimPrefix(str: String): String
- Definition Classes
- Type
-
def
typeArgs: List[(symbolTable)#Type]
- Definition Classes
- Type → TypeApi
-
def
typeArguments: List[(symbolTable)#Type]
- Definition Classes
- TypeApiImpl
-
def
typeConstructor: (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
def
typeOfThis: (symbolTable)#Type
- Definition Classes
- Type
-
def
typeParams: List[(symbolTable)#Symbol]
- Definition Classes
- Type → TypeApi
-
def
typeSymbol: (symbolTable)#Symbol
- Definition Classes
- Type → TypeApi
-
def
typeSymbolDirect: (symbolTable)#Symbol
- Definition Classes
- Type
-
def
underlying: (symbolTable)#Type
- Definition Classes
- Type
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
weak_<:<(that: (symbolTable)#Type): Boolean
- Definition Classes
- Type → TypeApi
-
def
widen: (symbolTable)#Type
- Definition Classes
- Type → TypeApi
-
final
def
withAnnotation(annot: (symbolTable)#AnnotationInfo): (symbolTable)#Type
- Definition Classes
- Annotatable
-
def
withAnnotations(annots: List[(symbolTable)#AnnotationInfo]): (symbolTable)#Type
- Definition Classes
- Type → Annotatable
-
def
withFilter(p: ((symbolTable)#Type) ⇒ Boolean): FilterMapForeach
- Definition Classes
- Type
-
def
withoutAnnotations: (symbolTable)#Type
- Definition Classes
- Type → Annotatable
-
def
→[B](y: B): (ClassfileLoader, B)
- Implicit
- This member is added by an implicit conversion from ClassfileLoader to ArrowAssoc[ClassfileLoader] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler API.
The following resources are useful for Scala plugin/compiler development: