org.clapper.classutil

ClassInfo

trait ClassInfo extends BaseInfo

Information about a class, as read from a class file.

Linear Supertypes
BaseInfo, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ClassInfo
  2. BaseInfo
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def annotations: Set[AnnotationInfo]

    A set of the runtime-retained annotations in the class.

  2. abstract def fields: Set[FieldInfo]

    A set of the fields in the class.

  3. abstract def interfaces: List[String]

    A list of the interfaces, as class names, that the class implements; or, an empty list if it implements no interfaces.

  4. abstract def location: File

    Where the class was found (directory, jar file, or zip file).

  5. abstract def methods: Set[MethodInfo]

    A set of the methods in the class.

  6. abstract val modifiers: Set[Modifier]

    The entity's modifiers.

    The entity's modifiers.

    Definition Classes
    BaseInfo
  7. abstract val name: String

    The name of the entity.

    The name of the entity.

    Definition Classes
    BaseInfo
  8. abstract def signature: String

    The class's JVM signature.

  9. abstract def superClassName: String

    The parent class's fully qualified name.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. def implements(interface: String): Boolean

    Convenience method to determine whether this class directly implements a specific interface.

    Convenience method to determine whether this class directly implements a specific interface. Since a ClassInfo object contains information about a single class, this method cannot determine whether a class indirectly implements an interface. That capability is a higher-order operation.

    interface

    the name of the interface

    returns

    whether the class implements the interface

  14. def isAbstract: Boolean

    Convenience method that determines whether the class is abstract This method is just shorthand for:

    Convenience method that determines whether the class is abstract This method is just shorthand for:

    modifiers contains Modifier.Abstract
    Definition Classes
    BaseInfo
  15. def isConcrete: Boolean

    Convenience method to determine whether the class is concrete (i.

    Convenience method to determine whether the class is concrete (i.e., isn't abstract and isn't an interface).

    Definition Classes
    BaseInfo
  16. def isFinal: Boolean

    Convenience methods that determines whether the class is final.

    Convenience methods that determines whether the class is final. This method is just shorthand for:

    modifiers contains Modifier.Final
    Definition Classes
    BaseInfo
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def isInterface: Boolean

    Convenience method that determines whether the class implements an interface.

    Convenience method that determines whether the class implements an interface. This method is just shorthand for:

    modifiers contains Modifier.Interface
    Definition Classes
    BaseInfo
  19. def isPrivate: Boolean

    Convenience method that determines whether the class is private.

    Convenience method that determines whether the class is private. This method is just shorthand for:

    modifiers contains Modifier.Private
    Definition Classes
    BaseInfo
  20. def isProtected: Boolean

    Convenience method that determines whether the class is protected.

    Convenience method that determines whether the class is protected. This method is just shorthand for:

    modifiers contains Modifier.Protected
    Definition Classes
    BaseInfo
  21. def isPublic: Boolean

    Convenience methods that determines whether the class is public.

    Convenience methods that determines whether the class is public. This method is just shorthand for:

    modifiers contains Modifier.Public
    Definition Classes
    BaseInfo
  22. def isStatic: Boolean

    Convenience methods that determines whether the class is static.

    Convenience methods that determines whether the class is static. This method is just shorthand for:

    modifiers contains Modifier.Static
    Definition Classes
    BaseInfo
  23. def isSynchronized: Boolean

    Convenience methods that determines whether the class is synchronized.

    Convenience methods that determines whether the class is synchronized. This method is just shorthand for:

    modifiers contains Modifier.Synchronized
    Definition Classes
    BaseInfo
  24. def isSynthetic: Boolean

    Convenience methods that determines whether the class is synthetic.

    Convenience methods that determines whether the class is synthetic. This method is just shorthand for:

    modifiers contains Modifier.Synthetic
    Definition Classes
    BaseInfo
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    A printable version of the field.

    A printable version of the field. Currently, the string version is the entity name.

    Definition Classes
    BaseInfo → AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BaseInfo

Inherited from AnyRef

Inherited from Any

Ungrouped