com.android.tools.lint.checks
Class ApiClass
java.lang.Object
com.android.tools.lint.checks.ApiClass
- All Implemented Interfaces:
- java.lang.Comparable<ApiClass>
public class ApiClass
- extends java.lang.Object
- implements java.lang.Comparable<ApiClass>
Represents a class and its methods/fields.
getSince()
gives the API level it was introduced.
getMethod(java.lang.String, com.android.tools.lint.checks.Api)
returns when the method was introduced.
getField(java.lang.String, com.android.tools.lint.checks.Api)
returns when the field was introduced.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getPackage
@Nullable
public java.lang.String getPackage()
getSimpleName
@NonNull
public java.lang.String getSimpleName()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(@NonNull
ApiClass other)
- Specified by:
compareTo
in interface java.lang.Comparable<ApiClass>