@Override public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { super.readExternal( in ); this.entryPoint = (String) in.readObject(); }
@Override public void writeExternal( ObjectOutput out ) throws IOException { super.writeExternal( out ); out.writeObject( entryPoint ); }
@Override public void setResource(Resource resource) { super.setResource(resource); if (fields != null) { for (TypeFieldDescr field : fields.values()) { field.setResource(resource); } } }
public void setNamespace( String namespace ) { super.setNamespace(namespace); this.type.setNamespace(namespace); }
@Override public void copyLocation(BaseDescr d) { super.copyLocation(d); if (descrs.size() == 1 && descrs.get(0) instanceof BindingDescr) { descrs.get(0).copyLocation(d); } } }
/** * {@inheritDoc} */ public AnnotationDescrBuilder<CEDescrBuilder<P, T>> newAnnotation( String name ) { AnnotationDescrBuilder<CEDescrBuilder<P, T>> annotation = new AnnotationDescrBuilderImpl<CEDescrBuilder<P, T>>( this, name ); descr.addAnnotation(annotation.getDescr()); return annotation; }
@Override public void writeExternal( ObjectOutput out ) throws IOException { super.writeExternal(out); out.writeObject( type ); out.writeObject( fields ); }
@Override public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { super.readExternal( in ); this.name = (String) in.readObject(); this.pattern = (PatternDescr) in.readObject(); }
@Override public void writeExternal( ObjectOutput out ) throws IOException { super.writeExternal( out ); out.writeObject( name ); out.writeObject( pattern ); }
@SuppressWarnings("unchecked") @Override public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { super.readExternal(in); type = (QualifiedName) in.readObject(); fields = (Map<String, TypeFieldDescr>) in.readObject(); }
@Override public void writeExternal( ObjectOutput out ) throws IOException { super.writeExternal(out); out.writeInt(index); out.writeObject( name ); out.writeObject( constructorArgs ); }
@Override public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { super.readExternal( in ); index = in.readInt(); name = (String) in.readObject(); constructorArgs = (List<String>) in.readObject(); }
@Override public void writeExternal( ObjectOutput out ) throws IOException { super.writeExternal( out ); out.writeInt( index ); out.writeObject( fieldName ); out.writeObject( initExpr ); out.writeObject( pattern ); }
@Override public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { super.readExternal( in ); index = in.readInt(); fieldName = (String) in.readObject(); initExpr = (String) in.readObject(); pattern = (PatternDescr) in.readObject(); }
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal( out ); out.writeObject( name ); out.writeObject( parentName ); out.writeObject( documentation ); out.writeObject( consequence ); out.writeObject( namedConsequence ); out.writeObject( lhs ); out.writeInt( consequenceLine ); out.writeInt( consequencePattern ); out.writeInt( offset ); out.writeObject( attributes ); out.writeObject( className ); }
@SuppressWarnings("unchecked") public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal( in ); name = (String) in.readObject(); parentName = (String) in.readObject(); documentation = (String) in.readObject(); consequence = in.readObject(); namedConsequence = (Map<String, Object>) in.readObject(); lhs = (AndDescr) in.readObject(); consequenceLine = in.readInt(); consequencePattern = in.readInt(); offset = in.readInt(); attributes = (Map<String, AttributeDescr>) in.readObject(); className = (String) in.readObject(); }