public QName getSchemaType() { if(types.size()!=1) // if more than one kind is here, can't produce @XmlSchemaType. // TODO: is it allowed to have one generated if types return null; CTypeRef t = types.get(0); if(needsExplicitTypeName(t.getTarget(),t.typeName)) return t.typeName; else return null; }
public QName getSchemaType() { if(types.size()!=1) // if more than one kind is here, can't produce @XmlSchemaType. // TODO: is it allowed to have one generated if types return null; CTypeRef t = types.get(0); if(needsExplicitTypeName(t.getTarget(),t.typeName)) return t.typeName; else return null; }
public QName getSchemaType() { if(types.size()!=1) // if more than one kind is here, can't produce @XmlSchemaType. // TODO: is it allowed to have one generated if types return null; CTypeRef t = types.get(0); if(needsExplicitTypeName(t.getTarget(),t.typeName)) return t.typeName; else return null; }
public QName getSchemaType() { if(types.size()!=1) // if more than one kind is here, can't produce @XmlSchemaType. // TODO: is it allowed to have one generated if types return null; CTypeRef t = types.get(0); if(needsExplicitTypeName(t.getTarget(),t.typeName)) return t.typeName; else return null; }
public QName getSchemaType() { if(types.size()!=1) // if more than one kind is here, can't produce @XmlSchemaType. // TODO: is it allowed to have one generated if types return null; CTypeRef t = types.get(0); if(needsExplicitTypeName(t.getTarget(),t.typeName)) return t.typeName; else return null; }
public CNonElement get(int index) { return getTypes().get(index).getTarget(); } public int size() {
public CNonElement get(int index) { return getTypes().get(index).getTarget(); } public int size() {
public CNonElement get(int index) { return getTypes().get(index).getTarget(); } public int size() {
public CNonElement get(int index) { return getTypes().get(index).getTarget(); } public int size() {
public CNonElement get(int index) { return getTypes().get(index).getTarget(); } public int size() {
public final JType resolve(CTypeRef ref, Aspect a) { return ref.getTarget().getType().toType(this, a); } private final CClassInfoParent.Visitor<JClassContainer> exposedContainerBuilder =
public final JType resolve(CTypeRef ref, Aspect a) { return ref.getTarget().getType().toType(this, a); } private final CClassInfoParent.Visitor<JClassContainer> exposedContainerBuilder =
public final JType resolve(CTypeRef ref, Aspect a) { return ref.getTarget().getType().toType(this, a); } private final CClassInfoParent.Visitor<JClassContainer> exposedContainerBuilder =
public final JType resolve(CTypeRef ref,Aspect a) { return ref.getTarget().getType().toType(this,a); }
public final JType resolve(CTypeRef ref,Aspect a) { return ref.getTarget().getType().toType(this,a); }
@Override public JExpression unwrapCondifiton(JExpression source) { final JType type = getTypeRef().getTarget().toType(outline.parent(), Aspect.EXPOSED); return JOp._instanceof(source, type); }
@Override public JExpression unwrapCondifiton(JExpression source) { final JType type = getTypeRef().getTarget().toType(outline.parent(), Aspect.EXPOSED); return JOp._instanceof(source, type); }
@Override protected JExpression unwrap(JExpression source) { final JType type = getTypeRef().getTarget().toType(outline.parent(), Aspect.EXPOSED); return JExpr.cast(type, super.unwrap(source)); }
@Override protected JExpression unwrap(JExpression source) { final JType type = getTypeRef().getTarget().toType(outline.parent(), Aspect.EXPOSED); return JExpr.cast(type, super.unwrap(source)); }
return mode; // no need to continue the processing if(!types.add(r.toTypeRef(null).getTarget().getType())) return Mode.MUST_BE_REFERENCE; // collision if(r.isListOfValues()) {