Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.hotspotvmconfig.processor/src/jdk/vm/ci/hotspotvmconfig/processor/HotSpotVMConfigProcessor.java @ 23297:4b58c92e939b
remove redundant modifiers
author | Manuel Rigger <rigger.manuel@gmail.com> |
---|---|
date | Tue, 02 Feb 2016 16:19:37 +0100 |
parents | c2687aa5e5ca |
children | a920338dd4d4 |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.hotspotvmconfig.processor/src/jdk/vm/ci/hotspotvmconfig/processor/HotSpotVMConfigProcessor.java Sun Jan 31 22:39:09 2016 +0100 +++ b/jvmci/jdk.vm.ci.hotspotvmconfig.processor/src/jdk/vm/ci/hotspotvmconfig/processor/HotSpotVMConfigProcessor.java Tue Feb 02 16:19:37 2016 +0100 @@ -54,12 +54,8 @@ import jdk.vm.ci.hotspotvmconfig.HotSpotVMType; import jdk.vm.ci.hotspotvmconfig.HotSpotVMValue; -@SupportedAnnotationTypes({ - "jdk.vm.ci.hotspotvmconfig.HotSpotVMConstant", - "jdk.vm.ci.hotspotvmconfig.HotSpotVMFlag", - "jdk.vm.ci.hotspotvmconfig.HotSpotVMField", - "jdk.vm.ci.hotspotvmconfig.HotSpotVMType", - "jdk.vm.ci.hotspotvmconfig.HotSpotVMValue"}) +@SupportedAnnotationTypes({"jdk.vm.ci.hotspotvmconfig.HotSpotVMConstant", "jdk.vm.ci.hotspotvmconfig.HotSpotVMFlag", "jdk.vm.ci.hotspotvmconfig.HotSpotVMField", + "jdk.vm.ci.hotspotvmconfig.HotSpotVMType", "jdk.vm.ci.hotspotvmconfig.HotSpotVMValue"}) public class HotSpotVMConfigProcessor extends AbstractProcessor { public HotSpotVMConfigProcessor() { @@ -266,7 +262,7 @@ private boolean optional; final VariableElement field; - public VMConfigField(VariableElement field, HotSpotVMField value) { + VMConfigField(VariableElement field, HotSpotVMField value) { this.field = field; define = archDefines(value.archs()); String type = field.asType().toString(); @@ -287,14 +283,14 @@ } } - public VMConfigField(VariableElement field, HotSpotVMType value) { + VMConfigField(VariableElement field, HotSpotVMType value) { this.field = field; define = null; // ((HotSpotVMType) annotation).archs(); String type = field.asType().toString(); setter = String.format("set_%s(\"%s\", sizeof(%s));", type, field.getSimpleName(), value.name()); } - public VMConfigField(VariableElement field, HotSpotVMValue value) { + VMConfigField(VariableElement field, HotSpotVMValue value) { this.field = field; String[] defines = value.defines(); int length = defines.length; @@ -314,14 +310,14 @@ } } - public VMConfigField(VariableElement field, HotSpotVMConstant value) { + VMConfigField(VariableElement field, HotSpotVMConstant value) { this.field = field; define = archDefines(value.archs()); String type = field.asType().toString(); setter = String.format("set_%s(\"%s\", %s);", type, field.getSimpleName(), value.name()); } - public VMConfigField(VariableElement field, HotSpotVMFlag value) { + VMConfigField(VariableElement field, HotSpotVMFlag value) { this.field = field; define = archDefines(value.archs()); optional = value.optional();