@Override public void visitProperty(PropertyNode node) { addNode(properties, node.getName(), node); super.visitProperty(node); }
if (visitor != null) { PropertyNode node = new PropertyNode("length", Opcodes.ACC_PUBLIC | Opcodes.ACC_FINAL, int_TYPE, objectExpressionType, null, null, null); visitor.visitProperty(node); visitor.visitProperty(node);
@Override public void visitProperty(PropertyNode node) { final boolean osc = typeCheckingContext.isInStaticContext; try { typeCheckingContext.isInStaticContext = node.isInStaticContext(); currentProperty = node; super.visitProperty(node); } finally { currentProperty = null; typeCheckingContext.isInStaticContext = osc; } }
public void visitProperty(PropertyNode node) { checkDuplicateProperties(node); checkGenericsUsage(node, node.getType()); super.visitProperty(node); }
public void visitProperty(PropertyNode node) { pushState(node.isStatic()); super.visitProperty(node); popState(); }
@Override public void visitProperty(final PropertyNode node) { if (visitor!=null) visitor.visitProperty(node); ClassNode declaringClass = node.getDeclaringClass(); if (declaringClass!=null) { if (StaticTypeCheckingSupport.implementsInterfaceOrIsSubclassOf(declaringClass, ClassHelper.LIST_TYPE)) { List<PropertyNode> properties = declaringClass.getProperties(); boolean spread = true; for (PropertyNode propertyNode : properties) { if (propertyNode==node) { spread = false; break; } } // it's no real property but a property of the component pexp.setSpreadSafe(spread); } rType.set(declaringClass); } } };
private boolean storeProperty(PropertyNode propertyNode, PropertyExpression expressionToStoreOn, ClassNode receiver, ClassCodeVisitorSupport visitor, String delegationData) { if (propertyNode == null) return false; if (visitor != null) visitor.visitProperty(propertyNode); storeWithResolve(propertyNode.getOriginType(), receiver, propertyNode.getDeclaringClass(), propertyNode.isStatic(), expressionToStoreOn); if (delegationData != null) { expressionToStoreOn.putNodeMetaData(StaticTypesMarker.IMPLICIT_RECEIVER, delegationData); } return true; }
@Override public final void visitProperty(PropertyNode node) { super.visitProperty(node); }
public void visitProperty(PropertyNode node) { checkDuplicateProperties(node); super.visitProperty(node); }
@Override public void visitProperty(final PropertyNode node) { pushContext(node); super.visitProperty(node); popContext(); }
@Override public void visitProperty(PropertyNode node) { // we don't want synthetic static initializers introducing this variables if (!node.isSynthetic() && isInside(node, line, column)) { super.visitProperty(node); } }
public void visitProperty(PropertyNode node) { pushState(node.isStatic()); super.visitProperty(node); popState(); }
public void visitProperty(PropertyNode node) { checkDuplicateProperties(node); checkGenericsUsage(node, node.getType()); super.visitProperty(node); }
public void visitProperty(PropertyNode node) { pushState(node.isStatic()); super.visitProperty(node); popState(); }
@Override public void visitProperty(PropertyNode arg0) { if(arg0.getType()!=null) { visitClass(arg0.getType()); } super.visitProperty(arg0); } @Override
@Override public void visitProperty(PropertyNode arg0) { if(arg0.getType()!=null) { visitClass(arg0.getType()); } super.visitProperty(arg0); } @Override
public void visitProperty(PropertyNode node) { pushState(node.isStatic()); super.visitProperty(node); popState(); }
public void visitProperty(PropertyNode node) { pushState(node.isStatic()); super.visitProperty(node); popState(); }