Package javassist.bytecode.annotation

Examples of javassist.bytecode.annotation.DoubleMemberValue


            array[index] = val;
        }

        @Override
        public void visitDoubleMemberValue(DoubleMemberValue node) {
            array[index] = new DoubleMemberValue(node.getValue(), constPool);
        }
View Full Code Here


        } else if (type == byte.class) {
            return new ByteMemberValue((Byte) val, cp);
        } else if (type == float.class) {
            return new FloatMemberValue((Float) val, cp);
        } else if (type == double.class) {
            return new DoubleMemberValue((Double) val, cp);
        } else if (type == char.class) {
            return new CharMemberValue((Character) val, cp);
        } else if (type == boolean.class) {
            return new BooleanMemberValue((Boolean) val, cp);
        } else if (type == String.class) {
View Full Code Here

        } else if (type == byte.class) {
            return new ByteMemberValue(cp);
        } else if (type == float.class) {
            return new FloatMemberValue(cp);
        } else if (type == double.class) {
            return new DoubleMemberValue(cp);
        } else if (type == char.class) {
            return new CharMemberValue(cp);
        } else if (type == boolean.class) {
            return new BooleanMemberValue(cp);
        } else if (type == String.class) {
View Full Code Here

      value = new CharMemberValue(cp);
   }

   public void visitDoubleMemberValue(DoubleMemberValue doubleMemberValue)
   {
      value = new DoubleMemberValue(cp);
   }
View Full Code Here

/*  80 */     this.value = new CharMemberValue(this.cp);
/*     */   }
/*     */
/*     */   public void visitDoubleMemberValue(DoubleMemberValue doubleMemberValue)
/*     */   {
/*  85 */     this.value = new DoubleMemberValue(this.cp);
/*     */   }
View Full Code Here

/* 550 */         break;
/*     */       case 67:
/* 552 */         m = new CharMemberValue(index, cp);
/* 553 */         break;
/*     */       case 68:
/* 555 */         m = new DoubleMemberValue(index, cp);
/* 556 */         break;
/*     */       case 70:
/* 558 */         m = new FloatMemberValue(index, cp);
/* 559 */         break;
/*     */       case 73:
View Full Code Here

        else if (type == CtClass.longType)
            return new LongMemberValue((Long) value, cp);
        else if (type == CtClass.floatType)
            return new FloatMemberValue((Float) value, cp);
        else if (type == CtClass.doubleType)
            return new DoubleMemberValue((Double) value, cp);
        else if (type.getName().equals("java.lang.Class"))
            return new ClassMemberValue(((Class<?>) value).getName(), cp);
        else if (type.getName().equals("java.lang.String"))
            return new StringMemberValue((String) value, cp);
        else if (type.isArray()) {
View Full Code Here

        else if (type == CtClass.longType)
            return new LongMemberValue((Long) value, cp);
        else if (type == CtClass.floatType)
            return new FloatMemberValue((Float) value, cp);
        else if (type == CtClass.doubleType)
            return new DoubleMemberValue((Double) value, cp);
        else if (type.getName().equals("java.lang.Class"))
            return new ClassMemberValue(((Class<?>) value).getName(), cp);
        else if (type.getName().equals("java.lang.String"))
            return new StringMemberValue((String) value, cp);
        else if (type.isArray()) {
View Full Code Here

TOP

Related Classes of javassist.bytecode.annotation.DoubleMemberValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.