trait ClassMember extends ConcreteSourceElement
Abstractions over the common properties of class members (Methods and Fields).
- Alphabetic
- By Inheritance
- ClassMember
- ConcreteSourceElement
- SourceElement
- CommonSourceElementAttributes
- CommonAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
accessFlags: Int
- Definition Classes
- ConcreteSourceElement
-
abstract
def
attributes: Attributes
- Definition Classes
- CommonAttributes
-
abstract
def
name: String
The simple name of this class member (method or field).
Concrete 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
-
def
annotations: Annotations
The list of all annotations.
The list of all annotations. In general, if a specific annotation is searched for the method runtimeVisibleAnnotations or runtimeInvisibleAnnotations should be used.
- Definition Classes
- CommonSourceElementAttributes
-
def
asClassFile: ClassFile
- Definition Classes
- SourceElement
-
def
asField: Field
- Definition Classes
- SourceElement
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asMethod: Method
- Definition Classes
- SourceElement
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
compareAttributes(other: Attributes, config: SimilarityTestConfiguration): Option[AnyRef]
Compares this element's attributes with the given one.
Compares this element's attributes with the given one.
- returns
None, if both attribute lists are similar; Some(<description of the difference>) otherwise.
- Attributes
- protected[this]
- Definition Classes
- CommonAttributes
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
foreachTypeAnnotation[U](f: (TypeAnnotation) ⇒ U): Unit
- Definition Classes
- CommonAttributes
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def hasDefaultVisibility: Boolean
-
def
hasFlags(accessFlags: Int): Boolean
- Definition Classes
- ConcreteSourceElement
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isClass: Boolean
- Definition Classes
- SourceElement
-
def
isDeprecated: Boolean
Returns true if this (field, method, class) declaration is declared as deprecated.
Returns true if this (field, method, class) declaration is declared as deprecated.
Note
The deprecated attribute is always set by the Java compiler when either the deprecated annotation or the JavaDoc tag is used.
- Definition Classes
- CommonSourceElementAttributes
-
def
isField: Boolean
- Definition Classes
- SourceElement
- final def isFinal: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isMethod: Boolean
- Definition Classes
- SourceElement
- final def isNotFinal: Boolean
- final def isNotStatic: Boolean
- final def isPackagePrivate: Boolean
- final def isPrivate: Boolean
- final def isProtected: Boolean
- final def isPublic: Boolean
- final def isStatic: Boolean
-
final
def
isSynthetic: Boolean
Trueif theSyntheticaccess flag or attribute is used.Trueif theSyntheticaccess flag or attribute is used.- Definition Classes
- ClassMember → CommonSourceElementAttributes
-
def
isVirtual: Boolean
- Definition Classes
- SourceElement
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
runtimeInvisibleAnnotations: Annotations
- Definition Classes
- CommonSourceElementAttributes
-
def
runtimeInvisibleTypeAnnotations: TypeAnnotations
- Definition Classes
- CommonAttributes
-
def
runtimeVisibleAnnotations: Annotations
- Definition Classes
- CommonSourceElementAttributes
-
def
runtimeVisibleTypeAnnotations: TypeAnnotations
- Definition Classes
- CommonAttributes
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
visibilityModifier: Option[VisibilityModifier]
- Definition Classes
- ConcreteSourceElement
-
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
- @native() @throws( ... )