Coverage Report - com.sun.javafx.runtime.location.AbstractConstantLocation
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractConstantLocation
18%
3/17
N/A
0
 
 1  
 package com.sun.javafx.runtime.location;
 2  
 
 3  
 import java.lang.ref.WeakReference;
 4  
 import java.util.Collection;
 5  
 import java.util.Collections;
 6  
 
 7  
 /**
 8  
  * AbstractConstantLocation
 9  
  *
 10  
  * @author Brian Goetz
 11  
  */
 12  410
 public abstract class AbstractConstantLocation<T> implements ObjectLocation<T> {
 13  
     public void setDefault() {
 14  0
         throw new UnsupportedOperationException();
 15  
     }
 16  
 
 17  
     public T set(T value) {
 18  0
         throw new UnsupportedOperationException();
 19  
     }
 20  
 
 21  
     public T setFromLiteral(T value) {
 22  0
         throw new UnsupportedOperationException();
 23  
     }
 24  
 
 25  
     public boolean isValid() {
 26  0
         return true;
 27  
     }
 28  
 
 29  
     public boolean isNull() {
 30  0
         return false;
 31  
     }
 32  
 
 33  
     public boolean isMutable() {
 34  0
         return false;
 35  
     }
 36  
 
 37  
     public void invalidate() {
 38  0
         throw new UnsupportedOperationException();
 39  
     }
 40  
 
 41  0
     public void update() { }
 42  
 
 43  0
     public void addChangeListener(ChangeListener listener) { }
 44  
 
 45  0
     public void addWeakListener(ChangeListener listener) { }
 46  
 
 47  256
     public void addDependentLocation(WeakReference<Location> location) { }
 48  
 
 49  
     public Collection<ChangeListener> getListeners() {
 50  0
         return Collections.emptyList();
 51  
     }
 52  
 
 53  0
     public void addDependencies(Location... location) { }
 54  
 
 55  0
     public void addDynamicDependency(Location location) { }
 56  
 
 57  0
     public void clearDynamicDependencies() { }
 58  
 
 59  26
     public void addChangeListener(ObjectChangeListener<T> listener) { }
 60  
 }