use of org.jf.smalidea.psi.stub.SmaliModifierListStub in project smali by JesusFreke.
the class SmaliModifierList method getAccessFlags.
public int getAccessFlags() {
SmaliModifierListStub stub = getStub();
if (stub != null) {
return stub.getAccessFlags();
}
int flags = 0;
for (PsiElement accessSpec : findChildrenByType(SmaliTokens.ACCESS_SPEC)) {
AccessFlags flag = AccessFlags.getAccessFlag(accessSpec.getText());
if (flag != null) {
flags |= flag.getValue();
}
}
return flags;
}
Aggregations