All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.appland.appmap.util.AppMapBehavior Maven / Gradle / Ivy

package com.appland.appmap.util;

import java.lang.reflect.Modifier;

import javassist.CtBehavior;


import com.appland.appmap.config.Properties;

public class AppMapBehavior {
  private final CtBehavior behavior_;

  public AppMapBehavior(CtBehavior behavior) {
    behavior_ = behavior;
  }

  public Boolean isRecordable() {
    return !Modifier.isPrivate(behavior_.getModifiers()) || Properties.RecordPrivate;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy