{
return CachedType.hasAnnotation(clazz, advisor, type);
}
private void createNode(Fqn fqn, GlobalTransaction tx) {
TreeNode n, child_node;
Object child_name;
Fqn tmp_fqn=Fqn.ROOT;
if(fqn == null) return;
int treeNodeSize=fqn.size();
n=cache_.getRoot();
for(int i=0; i < treeNodeSize; i++) {
child_name=fqn.get(i);
tmp_fqn=new Fqn(tmp_fqn, child_name);
child_node=n.getChild(child_name);
if(child_node == null) {
child_node=n.createChild(child_name, tmp_fqn, n);
if(tx != null) {
MethodCall undo_op=MethodCallFactory.create(MethodDeclarations.removeNodeMethodLocal,
new Object[]{tx, tmp_fqn, Boolean.FALSE});
cache_.addUndoOperation(tx, undo_op);
}