protected ConstExprConstruct parseAnnotationConstExprConstruct(final JsonParser jp) throws IOException { final ConstExprConstruct constExpr = new ConstExprConstruct(); constExpr.setType(ConstExprConstruct.Type.fromString(jp.getCurrentName())); constExpr.setValue(jp.nextTextValue()); return constExpr; }
protected boolean isAnnotationConstExprConstruct(final JsonParser jp) throws IOException { return ConstExprConstruct.Type.fromString(jp.getCurrentName()) != null; }