|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.tools.lint.checks.PermissionFinder
public class PermissionFinder
Utility for locating permissions required by an intent or content resolver
Nested Class Summary | |
---|---|
static class |
PermissionFinder.Operation
Operation that has a permission requirement -- such as a method call, a content resolver read or write operation, an intent, etc. |
static class |
PermissionFinder.Result
A permission requirement given a name and operation |
Method Summary | |
---|---|
static PermissionFinder.Result |
findRequiredPermissions(PermissionFinder.Operation operation,
com.android.tools.lint.detector.api.JavaContext context,
lombok.ast.Node parameter)
Searches for a permission requirement for the given parameter in the given call |
PermissionFinder.Result |
search(lombok.ast.Node node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Nullable public static PermissionFinder.Result findRequiredPermissions(@NonNull PermissionFinder.Operation operation, @NonNull com.android.tools.lint.detector.api.JavaContext context, @NonNull lombok.ast.Node parameter)
operation
- the operation to look upcontext
- the context to use for lookupparameter
- the parameter which contains the value which implies the permission
@Nullable public PermissionFinder.Result search(@NonNull lombok.ast.Node node)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |