public <E> E getAttributeValue(Attribute<E> attr) { InstanceComponent c = comp; AttributeSet as = c == null ? attrs : c.getAttributeSet(); return as.getValue(attr); }
public AttributeSet getAttributeSet() { InstanceComponent c = comp; return c == null ? attrs : c.getAttributeSet(); }