Coverage Report - com.sun.javafx.runtime.location.ObjectConstant
 
Classes in this File Line Coverage Branch Coverage Complexity
ObjectConstant
100%
6/6
N/A
0
 
 1  
 package com.sun.javafx.runtime.location;
 2  
 
 3  
 /**
 4  
  * ObjectConstant
 5  
  *
 6  
  * @author Brian Goetz
 7  
  */
 8  
 public class ObjectConstant<T> extends AbstractConstantLocation<T> implements ObjectLocation<T> {
 9  
     private T $value;
 10  
 
 11  
     public static<T> ObjectLocation<T> make(T value) {
 12  113
         return new ObjectConstant<T>(value);
 13  
     }
 14  
 
 15  113
     protected ObjectConstant(T value) {
 16  113
         this.$value = value;
 17  113
     }
 18  
 
 19  
     public T get() {
 20  115
         return $value;
 21  
     }
 22  
 
 23  32
     public void addChangeListener(ObjectChangeListener<T> listener) { }
 24  
 }