2023-11-19 02:12:44 +03:00
|
|
|
package Visual_DVM_2021.Passes;
|
2024-10-08 00:39:13 +03:00
|
|
|
import Common.CurrentAnchestor;
|
2024-10-09 22:01:19 +03:00
|
|
|
import _VisualDVM.Current;
|
2023-11-19 02:12:44 +03:00
|
|
|
import Repository.Component.Component;
|
2023-09-17 22:13:42 +03:00
|
|
|
public abstract class CurrentComponentPass extends Pass_2021<Component> {
|
|
|
|
|
@Override
|
|
|
|
|
protected boolean canStart(Object... args) throws Exception {
|
2024-10-08 00:39:13 +03:00
|
|
|
if (CurrentAnchestor.Check(Log, Current.Component)) {
|
2023-09-17 22:13:42 +03:00
|
|
|
target = Current.getComponent();
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|