com.sun.xml.internal.ws.org.objectweb.asm.Type Java Examples
The following examples show how to use
com.sun.xml.internal.ws.org.objectweb.asm.Type.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WrapperBeanGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
Field(String paramName, java.lang.reflect.Type paramType, Type asmType, List<Annotation> jaxbAnnotations) { this.reflectType = paramType; this.asmType = asmType; this.fieldName = paramName; this.jaxbAnnotations = jaxbAnnotations; }
Example #2
Source File: WrapperBeanGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
Field(String paramName, java.lang.reflect.Type paramType, Type asmType, List<Annotation> jaxbAnnotations) { this.reflectType = paramType; this.asmType = asmType; this.fieldName = paramName; this.jaxbAnnotations = jaxbAnnotations; }
Example #3
Source File: WrapperBeanGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private static Type getASMType(java.lang.reflect.Type t) { assert t!=null; if (t instanceof Class) { return Type.getType((Class)t); } if (t instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)t; if (pt.getRawType() instanceof Class) { return Type.getType((Class)pt.getRawType()); } } if (t instanceof GenericArrayType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof WildcardType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof TypeVariable) { TypeVariable tv = (TypeVariable)t; if (tv.getBounds()[0] instanceof Class) { return Type.getType((Class)tv.getBounds()[0]); } } throw new IllegalArgumentException("Not creating ASM Type for type = "+t); }
Example #4
Source File: WrapperBeanGenerator.java From hottub with GNU General Public License v2.0 | 5 votes |
Field(String paramName, java.lang.reflect.Type paramType, Type asmType, List<Annotation> jaxbAnnotations) { this.reflectType = paramType; this.asmType = asmType; this.fieldName = paramName; this.jaxbAnnotations = jaxbAnnotations; }
Example #5
Source File: WrapperBeanGenerator.java From hottub with GNU General Public License v2.0 | 5 votes |
private static Type getASMType(java.lang.reflect.Type t) { assert t!=null; if (t instanceof Class) { return Type.getType((Class)t); } if (t instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)t; if (pt.getRawType() instanceof Class) { return Type.getType((Class)pt.getRawType()); } } if (t instanceof GenericArrayType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof WildcardType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof TypeVariable) { TypeVariable tv = (TypeVariable)t; if (tv.getBounds()[0] instanceof Class) { return Type.getType((Class)tv.getBounds()[0]); } } throw new IllegalArgumentException("Not creating ASM Type for type = "+t); }
Example #6
Source File: WrapperBeanGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
@Override protected java.lang.reflect.Type getHolderValueType(java.lang.reflect.Type paramType) { if (paramType instanceof ParameterizedType) { ParameterizedType p = (ParameterizedType)paramType; if (p.getRawType().equals(Holder.class)) { return p.getActualTypeArguments()[0]; } } return null; }
Example #7
Source File: WrapperBeanGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@Override protected java.lang.reflect.Type getHolderValueType(java.lang.reflect.Type paramType) { if (paramType instanceof ParameterizedType) { ParameterizedType p = (ParameterizedType)paramType; if (p.getRawType().equals(Holder.class)) { return p.getActualTypeArguments()[0]; } } return null; }
Example #8
Source File: WrapperBeanGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
Field(String paramName, java.lang.reflect.Type paramType, Type asmType, List<Annotation> jaxbAnnotations) { this.reflectType = paramType; this.asmType = asmType; this.fieldName = paramName; this.jaxbAnnotations = jaxbAnnotations; }
Example #9
Source File: WrapperBeanGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static Type getASMType(java.lang.reflect.Type t) { assert t!=null; if (t instanceof Class) { return Type.getType((Class)t); } if (t instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)t; if (pt.getRawType() instanceof Class) { return Type.getType((Class)pt.getRawType()); } } if (t instanceof GenericArrayType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof WildcardType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof TypeVariable) { TypeVariable tv = (TypeVariable)t; if (tv.getBounds()[0] instanceof Class) { return Type.getType((Class)tv.getBounds()[0]); } } throw new IllegalArgumentException("Not creating ASM Type for type = "+t); }
Example #10
Source File: WrapperBeanGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
@Override protected java.lang.reflect.Type getHolderValueType(java.lang.reflect.Type paramType) { if (paramType instanceof ParameterizedType) { ParameterizedType p = (ParameterizedType)paramType; if (p.getRawType().equals(Holder.class)) { return p.getActualTypeArguments()[0]; } } return null; }
Example #11
Source File: WrapperBeanGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
@Override protected java.lang.reflect.Type getHolderValueType(java.lang.reflect.Type paramType) { if (paramType instanceof ParameterizedType) { ParameterizedType p = (ParameterizedType)paramType; if (p.getRawType().equals(Holder.class)) { return p.getActualTypeArguments()[0]; } } return null; }
Example #12
Source File: WrapperBeanGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private static Type getASMType(java.lang.reflect.Type t) { assert t!=null; if (t instanceof Class) { return Type.getType((Class)t); } if (t instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)t; if (pt.getRawType() instanceof Class) { return Type.getType((Class)pt.getRawType()); } } if (t instanceof GenericArrayType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof WildcardType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof TypeVariable) { TypeVariable tv = (TypeVariable)t; if (tv.getBounds()[0] instanceof Class) { return Type.getType((Class)tv.getBounds()[0]); } } throw new IllegalArgumentException("Not creating ASM Type for type = "+t); }
Example #13
Source File: WrapperBeanGenerator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
Field(String paramName, java.lang.reflect.Type paramType, Type asmType, List<Annotation> jaxbAnnotations) { this.reflectType = paramType; this.asmType = asmType; this.fieldName = paramName; this.jaxbAnnotations = jaxbAnnotations; }
Example #14
Source File: WrapperBeanGenerator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private static Type getASMType(java.lang.reflect.Type t) { assert t!=null; if (t instanceof Class) { return Type.getType((Class)t); } if (t instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)t; if (pt.getRawType() instanceof Class) { return Type.getType((Class)pt.getRawType()); } } if (t instanceof GenericArrayType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof WildcardType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof TypeVariable) { TypeVariable tv = (TypeVariable)t; if (tv.getBounds()[0] instanceof Class) { return Type.getType((Class)tv.getBounds()[0]); } } throw new IllegalArgumentException("Not creating ASM Type for type = "+t); }
Example #15
Source File: WrapperBeanGenerator.java From hottub with GNU General Public License v2.0 | 5 votes |
@Override protected java.lang.reflect.Type getHolderValueType(java.lang.reflect.Type paramType) { if (paramType instanceof ParameterizedType) { ParameterizedType p = (ParameterizedType)paramType; if (p.getRawType().equals(Holder.class)) { return p.getActualTypeArguments()[0]; } } return null; }
Example #16
Source File: WrapperBeanGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private static Type getASMType(java.lang.reflect.Type t) { assert t!=null; if (t instanceof Class) { return Type.getType((Class)t); } if (t instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)t; if (pt.getRawType() instanceof Class) { return Type.getType((Class)pt.getRawType()); } } if (t instanceof GenericArrayType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof WildcardType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof TypeVariable) { TypeVariable tv = (TypeVariable)t; if (tv.getBounds()[0] instanceof Class) { return Type.getType((Class)tv.getBounds()[0]); } } throw new IllegalArgumentException("Not creating ASM Type for type = "+t); }
Example #17
Source File: WrapperBeanGenerator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
@Override protected java.lang.reflect.Type getHolderValueType(java.lang.reflect.Type paramType) { if (paramType instanceof ParameterizedType) { ParameterizedType p = (ParameterizedType)paramType; if (p.getRawType().equals(Holder.class)) { return p.getActualTypeArguments()[0]; } } return null; }
Example #18
Source File: WrapperBeanGenerator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
@Override protected java.lang.reflect.Type getHolderValueType(java.lang.reflect.Type paramType) { if (paramType instanceof ParameterizedType) { ParameterizedType p = (ParameterizedType)paramType; if (p.getRawType().equals(Holder.class)) { return p.getActualTypeArguments()[0]; } } return null; }
Example #19
Source File: WrapperBeanGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
Field(String paramName, java.lang.reflect.Type paramType, Type asmType, List<Annotation> jaxbAnnotations) { this.reflectType = paramType; this.asmType = asmType; this.fieldName = paramName; this.jaxbAnnotations = jaxbAnnotations; }
Example #20
Source File: WrapperBeanGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
Field(String paramName, java.lang.reflect.Type paramType, Type asmType, List<Annotation> jaxbAnnotations) { this.reflectType = paramType; this.asmType = asmType; this.fieldName = paramName; this.jaxbAnnotations = jaxbAnnotations; }
Example #21
Source File: WrapperBeanGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private static Type getASMType(java.lang.reflect.Type t) { assert t!=null; if (t instanceof Class) { return Type.getType((Class)t); } if (t instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)t; if (pt.getRawType() instanceof Class) { return Type.getType((Class)pt.getRawType()); } } if (t instanceof GenericArrayType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof WildcardType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof TypeVariable) { TypeVariable tv = (TypeVariable)t; if (tv.getBounds()[0] instanceof Class) { return Type.getType((Class)tv.getBounds()[0]); } } throw new IllegalArgumentException("Not creating ASM Type for type = "+t); }
Example #22
Source File: WrapperBeanGenerator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private static Type getASMType(java.lang.reflect.Type t) { assert t!=null; if (t instanceof Class) { return Type.getType((Class)t); } if (t instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)t; if (pt.getRawType() instanceof Class) { return Type.getType((Class)pt.getRawType()); } } if (t instanceof GenericArrayType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof WildcardType) { return Type.getType(FieldSignature.vms(t)); } if (t instanceof TypeVariable) { TypeVariable tv = (TypeVariable)t; if (tv.getBounds()[0] instanceof Class) { return Type.getType((Class)tv.getBounds()[0]); } } throw new IllegalArgumentException("Not creating ASM Type for type = "+t); }
Example #23
Source File: WrapperBeanGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
@Override protected java.lang.reflect.Type getHolderValueType(java.lang.reflect.Type paramType) { if (paramType instanceof ParameterizedType) { ParameterizedType p = (ParameterizedType)paramType; if (p.getRawType().equals(Holder.class)) { return p.getActualTypeArguments()[0]; } } return null; }
Example #24
Source File: WrapperBeanGenerator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
Field(String paramName, java.lang.reflect.Type paramType, Type asmType, List<Annotation> jaxbAnnotations) { this.reflectType = paramType; this.asmType = asmType; this.fieldName = paramName; this.jaxbAnnotations = jaxbAnnotations; }
Example #25
Source File: WrapperBeanGenerator.java From hottub with GNU General Public License v2.0 | 4 votes |
@Override protected java.lang.reflect.Type getSafeType(java.lang.reflect.Type type) { return type; }
Example #26
Source File: WrapperBeanGenerator.java From hottub with GNU General Public License v2.0 | 4 votes |
@Override protected boolean isVoidType(java.lang.reflect.Type type) { return type == Void.TYPE; }
Example #27
Source File: WrapperBeanGenerator.java From hottub with GNU General Public License v2.0 | 4 votes |
@Override public Field createWrapperBeanMember(java.lang.reflect.Type paramType, String paramName, List<Annotation> jaxb) { return new Field(paramName, paramType, getASMType(paramType), jaxb); }
Example #28
Source File: WrapperBeanGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
protected RuntimeWrapperBeanGenerator(AnnotationReader<java.lang.reflect.Type, Class, ?, Method> annReader, Navigator<java.lang.reflect.Type, Class, ?, Method> nav, BeanMemberFactory<java.lang.reflect.Type, Field> beanMemberFactory) { super(annReader, nav, beanMemberFactory); }
Example #29
Source File: WrapperBeanGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
protected RuntimeWrapperBeanGenerator(AnnotationReader<java.lang.reflect.Type, Class, ?, Method> annReader, Navigator<java.lang.reflect.Type, Class, ?, Method> nav, BeanMemberFactory<java.lang.reflect.Type, Field> beanMemberFactory) { super(annReader, nav, beanMemberFactory); }
Example #30
Source File: WrapperBeanGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
@Override protected java.lang.reflect.Type getSafeType(java.lang.reflect.Type type) { return type; }