58 lines
1.8 KiB
Java
58 lines
1.8 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.tridium.util;
|
|
|
|
import javax.baja.sys.BComplex;
|
|
import javax.baja.sys.BComponent;
|
|
import javax.baja.sys.BValue;
|
|
import javax.baja.sys.Context;
|
|
import javax.baja.sys.Property;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
import javax.baja.util.BUnrestrictedFolder;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public class BTempUnrestrictedFolder
|
|
extends BUnrestrictedFolder {
|
|
public static final Type TYPE;
|
|
static /* synthetic */ Class class$com$tridium$util$BTempUnrestrictedFolder;
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public void removed(Property property, BValue bValue, Context context) {
|
|
BComplex bComplex;
|
|
Property property2;
|
|
Property[] propertyArray = this.getDynamicPropertiesArray();
|
|
if ((propertyArray == null || propertyArray.length < 1) && (property2 = this.getPropertyInParent()) != null && !property2.isFrozen() && (bComplex = this.getParent()) instanceof BComponent) {
|
|
((BComponent)bComplex).remove(property2, null);
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ Class class(String string, boolean bl) {
|
|
try {
|
|
Class<?> clazz = Class.forName(string);
|
|
if (!bl) {
|
|
clazz = clazz.getComponentType();
|
|
}
|
|
return clazz;
|
|
}
|
|
catch (ClassNotFoundException classNotFoundException) {
|
|
throw new NoClassDefFoundError(classNotFoundException.getMessage());
|
|
}
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$com$tridium$util$BTempUnrestrictedFolder;
|
|
if (clazz == null) {
|
|
clazz = class$com$tridium$util$BTempUnrestrictedFolder = BTempUnrestrictedFolder.class("[Lcom.tridium.util.BTempUnrestrictedFolder;", false);
|
|
}
|
|
TYPE = Sys.loadType(clazz);
|
|
}
|
|
}
|
|
|