Minor. Split method VariableTypeResolver.process
It looks much natural to differ type resolution and setting compile time initializer to descriptor
This commit is contained in:
-5
@@ -52,11 +52,6 @@ public abstract class VariableDescriptorWithInitializerImpl extends VariableDesc
|
||||
@Nullable
|
||||
@Override
|
||||
public ConstantValue<?> getCompileTimeInitializer() {
|
||||
// Force computation and setting of compileTimeInitializer, if needed
|
||||
if (compileTimeInitializer == null) {
|
||||
outType.getConstructor();
|
||||
}
|
||||
|
||||
if (compileTimeInitializer != null) {
|
||||
return compileTimeInitializer.invoke();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user