ASTClassStaticAccessor<C extends ASTClass<V> , V> constructor
ASTClassStaticAccessor<C extends ASTClass<V> , V> (
- C clazz
Implementation
ASTClassStaticAccessor(this.clazz)
: staticClassAccessorVariable = ASTStaticClassAccessorVariable(clazz),
super(clazz.type) {
if (type.name != clazz.name) {
throw StateError('Incompatible class with type: $clazz != $type');
}
staticClassAccessorVariable.setAccessor(this);
}