@Override public boolean isExplicit() { IASTDeclaration decl = getPrimaryDeclaration(); if (decl != null) { ICPPASTDeclSpecifier declspec = getDeclSpec(decl); if (declspec != null) { return declspec.isExplicit(); } } return false; }
@Override public boolean isStatic(boolean resolveAll) { IASTDeclaration decl = getPrimaryDeclaration(); if (decl != null) { ICPPASTDeclSpecifier declSpec = getDeclSpec(decl); if (declSpec != null) { return declSpec.getStorageClass() == IASTDeclSpecifier.sc_static; } } return false; }